Sha256: f8c2b0b6fd82c0e714b0995d10c0d1972431337ceab9031c60e35cf6f8230085
Contents?: true
Size: 445 Bytes
Versions: 25
Compression:
Stored size: 445 Bytes
Contents
unless defined?(RAILS_ROOT) root_path = File.join(File.dirname(__FILE__), '..') unless RUBY_PLATFORM =~ /mswin32/ require 'pathname' root_path = Pathname.new(root_path).cleanpath(true).to_s end RAILS_ROOT = root_path 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)
Version data entries
25 entries across 25 versions & 3 rubygems