blob: 9e35fb6c15c76ee5d728d2d949761cc0b0c9b7f8 (
plain) (
tree)
|
|
unless defined?(RAILS_ROOT)
require 'pathname'
root_path = Pathname.new(File.join(File.dirname(__FILE__), '..'))
RAILS_ROOT = root_path.cleanpath.to_s + '/'
end
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)
|