rails-app moved to examples folder

This commit is contained in:
Siva M
2019-10-02 22:49:58 -04:00
parent 0fc1236266
commit e68bdffa25
120 changed files with 8 additions and 282 deletions

9
examples/rails-app/bin/rails Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'