mirror of https://github.com/rails/rails
rake already ships with a ruby command
This commit is contained in:
parent
7bc6a0098b
commit
9736cb2bab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue