aboutsummaryrefslogblamecommitdiffstats
path: root/railties/environments/boot.rb
blob: 1df433a7ebe39d1bd6275b70f0e5f3c0281b2ee1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                                
 


                                                               

                       


                                     
RAILS_ROOT = File.join(File.dirname(__FILE__), '..') unless defined?(RAILS_ROOT)

if File.directory?("#{RAILS_ROOT}/vendor/rails")
  require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
else
  require 'rubygems'
  require 'initializer'
end

Rails::Initializer.run(:set_load_path)