Skip to content

Commit

Permalink
Fix gem:install raketask
Browse files Browse the repository at this point in the history
  • Loading branch information
Trung Lê committed Dec 13, 2011
1 parent e094337 commit d852622
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d852622

Please sign in to comment.