aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
Diffstat (limited to 'railties')
-rwxr-xr-xrailties/Rakefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index be9a77d4e4..aa1dfa5dab 100755
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -17,8 +17,7 @@ namespace :test do
dir = ENV["TEST_DIR"] || "**"
Dir["test/#{dir}/*_test.rb"].each do |file|
next true if file.include?("fixtures")
- ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
- sh(ruby, '-Itest', "-I#{File.dirname(__FILE__)}/../activesupport/lib", file)
+ ruby '-Itest', "-I#{File.dirname(__FILE__)}/../activesupport/lib", file
end
end
end