From 3bce2f99de3e22f45d76984ef45d86c4f9501d45 Mon Sep 17 00:00:00 2001 From: John Mair Date: Thu, 15 Dec 2011 15:05:52 +1300 Subject: [PATCH] added gem reinstall task to Rakefile (for easy local testing) --- Rakefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rakefile b/Rakefile index a7f29f82..0098c54a 100644 --- a/Rakefile +++ b/Rakefile @@ -106,6 +106,12 @@ task :gems => [:clean, :rmgems, 'ruby:gem', 'mswin32:gem', 'mingw32:gem', 'jruby desc "remove all platform gems" task :rmgems => ['ruby:clobber_package'] +desc "reinstall gem" +task :reinstall => :gems do + sh "gem uninstall pry" + sh "gem install #{direc}/pkg/pry-#{Pry::VERSION}.gem" +end + desc "build and push latest gems" task :pushgems => :gems do chdir("#{File.dirname(__FILE__)}/pkg") do