diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-27 12:12:42 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-27 12:12:42 -0800 |
commit | f732c1680850639d119f897f3116eb1f1f987134 (patch) | |
tree | 055c5e709d62fad50b693d928366ef74a40281d9 /railties | |
parent | dec91a2e0655d288bd5184c981e2f4c60d9b3cf1 (diff) | |
download | rails-f732c1680850639d119f897f3116eb1f1f987134.tar.gz rails-f732c1680850639d119f897f3116eb1f1f987134.tar.bz2 rails-f732c1680850639d119f897f3116eb1f1f987134.zip |
Invoke tests with the same ruby
Diffstat (limited to 'railties')
-rw-r--r-- | railties/Rakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 05f767dc3b..2cf0447bcf 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -28,7 +28,8 @@ task :default => :test ## we can see the failures task :test do Dir['test/**/*_test.rb'].all? do |file| - system("ruby -Itest #{file}") + ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) + system(ruby, '-Itest', file) end or raise "Failures" end |