aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/cli.rb
blob: d49431919d17357b00326b69fc9e0e0068d3274f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                  
                                   









                                                                                          
require 'rbconfig'
require 'rails/script_rails_loader'

Rails::ScriptRailsLoader.exec_script_rails!

railties_path = File.expand_path('../../lib', __FILE__)
$:.unshift(railties_path) if File.directory?(railties_path) && !$:.include?(railties_path)

require 'rails/ruby_version_check'
Signal.trap("INT") { puts; exit }

require 'rails/commands/application'