diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-09-09 18:56:11 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-09-09 18:56:11 -0700 |
commit | 9736cb2bab9268b0520895ee8883174761c3b981 (patch) | |
tree | 635b3e66c45b04b2a19045e199c777adcb7b9e53 /railties | |
parent | 7bc6a0098b4799ac82bfa84ffe171c3d67b87551 (diff) | |
download | rails-9736cb2bab9268b0520895ee8883174761c3b981.tar.gz rails-9736cb2bab9268b0520895ee8883174761c3b981.tar.bz2 rails-9736cb2bab9268b0520895ee8883174761c3b981.zip |
rake already ships with a ruby command
Diffstat (limited to 'railties')
-rwxr-xr-x | railties/Rakefile | 3 |
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 |