mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Require rubygems in generators test so Action Dispatch can find rack
This commit is contained in:
parent
b8e914709c
commit
d58ee23008
1 changed files with 3 additions and 1 deletions
|
@ -9,9 +9,11 @@ else
|
|||
end
|
||||
|
||||
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../lib"
|
||||
require 'generators'
|
||||
|
||||
require 'rubygems'
|
||||
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../../activerecord/lib"
|
||||
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../../actionpack/lib"
|
||||
require 'generators'
|
||||
require 'active_record'
|
||||
require 'action_dispatch'
|
||||
|
||||
|
|
Loading…
Reference in a new issue