From a106a1c61171532b94d78fb8e057e94c58639b77 Mon Sep 17 00:00:00 2001 From: Davide D'Agostino Date: Thu, 18 Nov 2010 18:05:34 +0100 Subject: [PATCH] Updated Rakefile --- Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 6251f90f9..dd21d5537 100644 --- a/Rakefile +++ b/Rakefile @@ -70,7 +70,7 @@ end desc "Commits all staged files" task :commit, [:message] do |t, args| - system(%Q[git commit -a -m "#{args.message}"]) + sh "git commit -a -m \"#{args.message}\"" end desc "Bumps the version number based on given version" @@ -106,9 +106,9 @@ end desc "Run tests for all padrino stack gems" task :test do # Omit the padrino metagem since no tests there - GEM_PATHS[0..-2].each do |gem| + GEM_PATHS[0..-2].each do |g| # Hardcode the 'cd' into the command and do not use Dir.chdir because this causes random tests to fail - sh "cd #{File.join(ROOT, gem)} && #{Gem.ruby} -S rake test", :verbose => true + sh "cd #{File.join(ROOT, g)} && #{Gem.ruby} -S rake test", :verbose => true end end