mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Binaries / New configs from Rails 5.2 app:update
This commit is contained in:
parent
1747de8eb5
commit
7c7bcf4b41
7 changed files with 111 additions and 12 deletions
6
bin/yarn
6
bin/yarn
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue