Sha256: 529b0d243d5b7b1dc38dea37d71f2482a22bc2556ad278ad532abf0d962131c7

Contents?: true

Size: 273 Bytes

Versions: 3

Compression:

Stored size: 273 Bytes

Contents

VENDOR_PATH = File.expand_path('..', __dir__)
Dir.chdir(VENDOR_PATH) do
  begin
    exec "yarnpkg #{ARGV.join(" ")}"
  rescue Errno::ENOENT
    puts "Yarn executable was not detected in the system."
    puts "Download Yarn at https://yarnpkg.com/en/docs/install"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
railties-5.1.0.rc2 lib/rails/generators/rails/app/templates/bin/yarn
railties-5.1.0.rc1 lib/rails/generators/rails/app/templates/bin/yarn
railties-5.1.0.beta1 lib/rails/generators/rails/app/templates/bin/yarn