clarion/bin/rails

10 lines
264 B
Plaintext
Raw Normal View History

2014-07-28 12:34:18 +03:00
#!/usr/bin/env ruby
begin
2019-04-28 02:02:09 +03:00
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
2014-07-28 12:34:18 +03:00
end
2019-04-28 02:02:09 +03:00
APP_PATH = File.expand_path('../config/application', __dir__)
2014-07-28 12:34:18 +03:00
require_relative '../config/boot'
require 'rails/commands'