From d85262233c5c0cfbdb26b96ca873e2af9d753135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Trung=20Le=CC=82?= Date: Wed, 14 Dec 2011 09:31:27 +1100 Subject: [PATCH] Fix gem:install raketask --- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 8e115363558..7d58d75530c 100644 --- a/Rakefile +++ b/Rakefile @@ -89,7 +89,8 @@ namespace :gem do cmd = "cd #{gem_name} && bundle exec rake gem"; puts cmd; system cmd cmd = "cd #{gem_name}/pkg && gem install spree_#{gem_name}-#{version}.gem"; puts cmd; system cmd end - FileUtils.rm_rf("#{gem_name}/pkg") + puts "Deleting pkg directory" + FileUtils.rm_rf("pkg") cmd = "bundle exec rake gem"; puts cmd; system cmd cmd = "gem install pkg/spree-#{version}.gem"; puts cmd; system cmd end