Permalink
Browse files

Require rubygems in generators test so Action Dispatch can find rack

  • Loading branch information...
1 parent b8e9147 commit d58ee2300854f4a5a4e0ff4b7e09f412eb2dc189 @jeremy jeremy committed Sep 14, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 railties/test/generators/generators_test_helper.rb
@@ -9,9 +9,11 @@
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'

0 comments on commit d58ee23

Please sign in to comment.