aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2012-12-12 12:47:17 +0100
committerAzul <azul@riseup.net>2012-12-12 12:47:17 +0100
commit082ac768ec2a1f0f0bbf77fd786d50871d0aabc1 (patch)
treeeb90da9be1f7a0407beedae8530f9f2642057ce2 /Rakefile
parentaa2482f9a82af624a9af544b198c9adf654f0f6f (diff)
downloadleap_cli-082ac768ec2a1f0f0bbf77fd786d50871d0aabc1.tar.gz
leap_cli-082ac768ec2a1f0f0bbf77fd786d50871d0aabc1.tar.bz2
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.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
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