Rails 5.1

This commit is contained in:
Patrick Gansterer 2020-07-31 23:47:14 +02:00
parent 74531f90c7
commit 4642eb6c54
10 changed files with 112 additions and 59 deletions

11
bin/yarn Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env ruby
VENDOR_PATH = File.expand_path('..', __dir__)
Dir.chdir(VENDOR_PATH) 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