projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update bundle
[rails.git]
/
bin
/
yarn
1
#!/usr/bin/env ruby
2
APP_ROOT = File.expand_path("..", __dir__)
3
Dir.chdir(APP_ROOT) do
4
exec "yarnpkg", *ARGV
5
rescue Errno::ENOENT
6
warn "Yarn executable was not detected in the system."
7
warn "Download Yarn at https://yarnpkg.com/en/docs/install"
8
exit 1
9
end