aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/Gemfile8
-rw-r--r--actionpack/test/abstract_controller/test_helper.rb3
2 files changed, 10 insertions, 1 deletions
diff --git a/actionpack/Gemfile b/actionpack/Gemfile
index ed1ae2e9c0..8abf63bd35 100644
--- a/actionpack/Gemfile
+++ b/actionpack/Gemfile
@@ -9,6 +9,12 @@ only :test do
gem "mocha"
gem "sqlite3-ruby"
gem "RedCloth"
+
+ activesupport_vendor = rails_root.join('activesupport', 'lib', 'active_support', 'vendor')
+
+ gem 'builder', '2.1.2', :vendored_at => activesupport_vendor.join('builder-2.1.2')
+ gem 'memcache-client', '1.6.5', :vendored_at => activesupport_vendor.join('memcache-client-1.6.5')
+ gem 'tzinfo', '0.3.13', :vendored_at => activesupport_vendor.join('tzinfo-0.3.13')
end
-disable_system_gems \ No newline at end of file
+disable_system_gems
diff --git a/actionpack/test/abstract_controller/test_helper.rb b/actionpack/test/abstract_controller/test_helper.rb
index ba4302d914..18e4d3c0e5 100644
--- a/actionpack/test/abstract_controller/test_helper.rb
+++ b/actionpack/test/abstract_controller/test_helper.rb
@@ -2,6 +2,9 @@ $:.unshift(File.dirname(__FILE__) + '/../../lib')
$:.unshift(File.dirname(__FILE__) + '/../../../activesupport/lib')
$:.unshift(File.dirname(__FILE__) + '/../lib')
+bundler = File.join(File.dirname(__FILE__), '..', '..', 'vendor', 'gems', 'environment')
+require bundler if File.exist?("#{bundler}.rb")
+
require 'rubygems'
require 'test/unit'
require 'active_support'