Dont auto require rubygems, move dep on rack-test to Gemfile

This commit is contained in:
David Heinemeier Hansson
2009-12-22 17:29:25 -08:00
parent fe5f660413
commit ec095456d8
2 changed files with 3 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ gem "mysql", ">= 2.8.1"
# AP
gem "rack", "1.0.1", :git => "git://github.com/rails/rack.git"
gem "rack-test", "0.5.3"
gem "RedCloth", ">= 4.2.2"
if ENV['CI']

View File

@@ -2,9 +2,8 @@
# so fixtures are loaded to the right database
silence_warnings { RAILS_ENV = "test" }
require 'rubygems'
gem "rack", "~> 1.0.0"
gem "rack-test", "~> 0.5.0"
require 'rack'
require 'rack/test'
require 'test/unit'
require 'active_support/core_ext/kernel/requires'