From 79b1641fec6702d12160edac9a394c9c7f4e12fb Mon Sep 17 00:00:00 2001 From: John Mair Date: Sat, 17 Dec 2011 17:59:13 +1300 Subject: [PATCH] fixed rake reinstall task --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index e4209990..e496645a 100644 --- a/Rakefile +++ b/Rakefile @@ -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"