make it a rails app

This commit is contained in:
Torsten Ruger
2018-04-10 18:25:46 +03:00
parent 539b7d9cfe
commit 53c7ab4f40
66 changed files with 1073 additions and 213 deletions

11
bin/yarn Executable file
View File

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