mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Dont auto require rubygems, move dep on rack-test to Gemfile
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -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']
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user