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:
parent
df95f16570
commit
c2a17217d0
1 changed files with 4 additions and 0 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue