fixed rake reinstall task

This commit is contained in:
John Mair 2011-12-17 17:59:13 +13:00
parent 2cca181652
commit 79b1641fec
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ task :rmgems => ['ruby:clobber_package']
desc "reinstall gem"
task :reinstall => :gems do
sh "gem uninstall pry" rescue nil
sh "gem install #{direc}/pkg/pry-#{Pry::VERSION}.gem"
sh "gem install #{File.dirname(__FILE__)}/pkg/pry-#{Pry::VERSION}.gem"
end
desc "build and push latest gems"