Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

only match the default task

  • Loading branch information...
commit 999835a8e5a34afb41af54f3cb14562a6c759a04 1 parent 125cbc3
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/all.rb
View
2  railties/lib/rails/all.rb
@@ -1,6 +1,6 @@
require "rails"
-if defined?(Rake) && Rake.application.top_level_tasks.grep(/^(default|test(:|$))/).any?
+if defined?(Rake) && Rake.application.top_level_tasks.grep(/^(default$|test(:|$))/).any?
ENV['RAILS_ENV'] ||= 'test'
end
Please sign in to comment.
Something went wrong with that request. Please try again.