mirror of
https://github.com/tildeverse/lobsters
synced 2024-06-13 20:46:38 +00:00
28c8217652
* Upgrade to rails 5.1 - Update versions of dependencies - Switch before_filter to before_action - Use render plain rather than render text * Generate new rails 5.1 scripts
12 lines
320 B
Ruby
Executable File
12 lines
320 B
Ruby
Executable File
#!/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
|