ruby-x.github.io/bin/rails
2018-04-10 18:25:46 +03:00

10 lines
264 B
Ruby
Executable File

#!/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'