ambition/bin/rails

10 lines
268 B
Plaintext
Raw Normal View History

2016-12-03 14:15:00 +08:00
#!/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', __FILE__)
require_relative '../config/boot'
require 'rails/commands'