aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/abstract_unit.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-13 15:10:29 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-13 15:10:29 -0500
commitfff3f0ae0cec1061f8b3e5cb44e189e94a4ad44f (patch)
tree57619ca4425ec52d14e080fedf2bdbe16a28aaed /activesupport/test/abstract_unit.rb
parentef38e6756272ecc1c91247639f76532b79c84bfd (diff)
downloadrails-fff3f0ae0cec1061f8b3e5cb44e189e94a4ad44f.tar.gz
rails-fff3f0ae0cec1061f8b3e5cb44e189e94a4ad44f.tar.bz2
rails-fff3f0ae0cec1061f8b3e5cb44e189e94a4ad44f.zip
Detect missing dependencies and automatically run bundler
Diffstat (limited to 'activesupport/test/abstract_unit.rb')
-rw-r--r--activesupport/test/abstract_unit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/abstract_unit.rb b/activesupport/test/abstract_unit.rb
index e06faadacb..eb73f1978e 100644
--- a/activesupport/test/abstract_unit.rb
+++ b/activesupport/test/abstract_unit.rb
@@ -1,7 +1,7 @@
ORIG_ARGV = ARGV.dup
-bundler = File.join(File.dirname(__FILE__), '..', 'vendor', 'gems', 'environment')
-require bundler if File.exist?("#{bundler}.rb")
+require 'bundler_helper'
+ensure_requirable %w( builder memcache tzinfo mocha )
require 'test/unit'