From: Azul Date: Wed, 12 Dec 2012 11:47:17 +0000 (+0100) Subject: make sure we actually use the path we are promissing X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=082ac768ec2a1f0f0bbf77fd786d50871d0aabc1;p=leap%2Fleap_cli.git make sure we actually use the path we are promissing for me the users gem path 'gem install' detects differs from the one we pick. No idea why. So let's tell it to use the path we mentioned before. --- diff --git a/Rakefile b/Rakefile index 9016dda..d597085 100644 --- a/Rakefile +++ b/Rakefile @@ -56,7 +56,7 @@ task 'install' do print "Do you want to continue installing to #{home_gem_path}? [y/N] " input = STDIN.readline if input =~ /[yY]/ - run "gem install #{options} --user-install '#{$gem_path}'" + run "gem install #{$gem_path} #{options} --install-dir '#{home_gem_path}' " else puts "bailing out." end