diff options
Diffstat (limited to 'actionmailer/Rakefile')
-rwxr-xr-x[-rw-r--r--] | actionmailer/Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index cba6e93c8a..df996acbc2 100644..100755 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -1,4 +1,4 @@ -require 'rake' +#!/usr/bin/env rake require 'rake/testtask' require 'rake/packagetask' require 'rake/gempackagetask' @@ -17,7 +17,7 @@ namespace :test do task :isolated do ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) Dir.glob("test/**/*_test.rb").all? do |file| - system(ruby, '-Ilib:test', file) + sh(ruby, '-Ilib:test', file) end or raise "Failures" end end |