aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/boot.rb
blob: 7f30e829a9eaf0886d78ef4e9a093a8bce59110b (plain) (blame)
1
2
3
4
5
6
7
8
RAILS_ROOT = File.join(File.dirname(__FILE__), '..')

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