diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-09-27 16:37:44 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-09-28 12:04:06 +0200 |
commit | 1fac7b79f3f524afcd9723bfb0fd72fc5ac53bdf (patch) | |
tree | 7e900691c378ce10023f37c2cdcbae0858aea245 /railties | |
parent | d63005447b143e3308c9e8e430216cd7bb144c6c (diff) | |
download | rails-1fac7b79f3f524afcd9723bfb0fd72fc5ac53bdf.tar.gz rails-1fac7b79f3f524afcd9723bfb0fd72fc5ac53bdf.tar.bz2 rails-1fac7b79f3f524afcd9723bfb0fd72fc5ac53bdf.zip |
Follow up to #16613
Since we want this flag to be enabled anytime we are running the tests
under JRuby, let's enable this at the Rakefile level so people get the
performance boost on their local checkout.
Moreover, we avoid having to update this particular line anytime the
option changes on the JRuby side.
The only drawback is that we have to define it in every Rakefile but
there's no big deal, this is already the case for other options.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/Rakefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index a899d069b5..9a377ce4ee 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -29,6 +29,7 @@ Rake::TestTask.new('test:regular') do |t| t.pattern = 'test/**/*_test.rb' t.warning = true t.verbose = true + t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION) end # Generate GEM ---------------------------------------------------------------------------- |