Created
January 3, 2010 21:26
-
-
Save lifo/268137 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/actionmailer/test/abstract_unit.rb b/actionmailer/test/abstract_unit.rb | |
index af6f1bc..016d7b3 100644 | |
--- a/actionmailer/test/abstract_unit.rb | |
+++ b/actionmailer/test/abstract_unit.rb | |
@@ -1,6 +1,8 @@ | |
begin | |
require File.expand_path('../../../vendor/gems/environment', __FILE__) | |
rescue LoadError | |
+ $stderr.puts "Running Rails tests requires Bundler. Please 'gem install bundler' and run 'gem bundle' from the Rails checkout path." | |
+ exit! | |
end | |
lib = File.expand_path('../../lib', __FILE__) | |
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb | |
index 8c65087..c2b1eda 100644 | |
--- a/actionpack/test/abstract_unit.rb | |
+++ b/actionpack/test/abstract_unit.rb | |
@@ -1,6 +1,8 @@ | |
begin | |
require File.expand_path('../../../vendor/gems/environment', __FILE__) | |
rescue LoadError | |
+ $stderr.puts "Running Rails tests requires Bundler. Please 'gem install bundler' and run 'gem bundle' from the Rails checkout path." | |
+ exit! | |
end | |
lib = File.expand_path('../../lib', __FILE__) | |
diff --git a/activemodel/test/cases/helper.rb b/activemodel/test/cases/helper.rb | |
index 3019395..407459c 100644 | |
--- a/activemodel/test/cases/helper.rb | |
+++ b/activemodel/test/cases/helper.rb | |
@@ -1,6 +1,8 @@ | |
begin | |
require File.expand_path('../../../../vendor/gems/environment', __FILE__) | |
rescue LoadError | |
+ $stderr.puts "Running Rails tests requires Bundler. Please 'gem install bundler' and run 'gem bundle' from the Rails checkout path." | |
+ exit! | |
end | |
lib = File.expand_path('../../../lib', __FILE__) | |
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb | |
index 479970b..919da7b 100644 | |
--- a/activerecord/test/cases/helper.rb | |
+++ b/activerecord/test/cases/helper.rb | |
@@ -1,6 +1,8 @@ | |
begin | |
require File.expand_path('../../../../vendor/gems/environment', __FILE__) | |
rescue LoadError | |
+ $stderr.puts "Running Rails tests requires Bundler. Please 'gem install bundler' and run 'gem bundle' from the Rails checkout path." | |
+ exit! | |
end | |
lib = File.expand_path('../../../lib', __FILE__) | |
diff --git a/activeresource/test/abstract_unit.rb b/activeresource/test/abstract_unit.rb | |
index 5fa6d30..d709614 100644 | |
--- a/activeresource/test/abstract_unit.rb | |
+++ b/activeresource/test/abstract_unit.rb | |
@@ -1,6 +1,8 @@ | |
begin | |
require File.expand_path('../../../vendor/gems/environment', __FILE__) | |
rescue LoadError | |
+ $stderr.puts "Running Rails tests requires Bundler. Please 'gem install bundler' and run 'gem bundle' from the Rails checkout path." | |
+ exit! | |
end | |
lib = File.expand_path('../../lib', __FILE__) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment