Sha256: 56933c5716cc069b185c8fb9303f20792e5325bb2070d34095480a933d4dc2c6
Contents?: true
Size: 294 Bytes
Versions: 2
Compression:
Stored size: 294 Bytes
Contents
APP_ROOT = File.expand_path('..', __dir__) Dir.chdir(APP_ROOT) do begin exec "yarnpkg #{ARGV.join(' ')}" rescue Errno::ENOENT $stderr.puts "Yarn executable was not detected in the system." $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" exit 1 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
railties-5.2.0.beta2 | lib/rails/generators/rails/app/templates/bin/yarn.tt |
railties-5.2.0.beta1 | lib/rails/generators/rails/app/templates/bin/yarn.tt |