1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

fixed rake reinstall task

This commit is contained in:
John Mair 2011-12-17 17:59:13 +13:00
parent 2cca181652
commit 79b1641fec

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"