diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-07-22 19:32:22 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-07-22 19:32:35 +0200 |
commit | 9cbfd63e9785462bb89329f2d0093171e0167a8a (patch) | |
tree | a2b6b291b22c80b46c8215f9dcabf9404f5fea8c /bin/yarn | |
parent | Update to Rails 5.1 (diff) | |
download | packages-5-9cbfd63e9785462bb89329f2d0093171e0167a8a.tar.gz packages-5-9cbfd63e9785462bb89329f2d0093171e0167a8a.tar.bz2 packages-5-9cbfd63e9785462bb89329f2d0093171e0167a8a.zip |
Update to Rails 5.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'bin/yarn')
-rwxr-xr-x | bin/yarn | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ #!/usr/bin/env ruby -VENDOR_PATH = File.expand_path('..', __dir__) -Dir.chdir(VENDOR_PATH) do +APP_ROOT = File.expand_path('..', __dir__) +Dir.chdir(APP_ROOT) do begin - exec "yarnpkg #{ARGV.join(" ")}" + exec "yarnpkg", *ARGV rescue Errno::ENOENT $stderr.puts "Yarn executable was not detected in the system." $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" |