1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix test failures due to requiring rails without AS in load path

This commit is contained in:
Jeremy Kemper 2009-10-27 18:35:41 -07:00
parent df95f16570
commit c2a17217d0

View file

@ -6,6 +6,10 @@ require 'rake/gempackagetask'
require 'date'
require 'rbconfig'
begin
require File.expand_path('../../vendor/gems/environment', __FILE__)
rescue LoadError
end
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/lib"
require 'rails'