Permalink
Browse files

fixed rake reinstall task

  • Loading branch information...
1 parent 2cca181 commit 79b1641fec6702d12160edac9a394c9c7f4e12fb @banister banister committed Dec 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -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"

0 comments on commit 79b1641

Please sign in to comment.