From d79ddaf3d03453f847f4625e096465c2dfec7786 Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 9 Dec 2012 12:12:58 -0800 Subject: remove rdoc and ri from 'rake install', fix bug with local install, make install verbose. --- Rakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index bf1ed63..9016dda 100644 --- a/Rakefile +++ b/Rakefile @@ -47,15 +47,16 @@ task 'install' do if !File.exists?($gem_path) puts("Could not file #{$gem_path}. Try running 'rake build'") else + options = '--verbose --conservative --no-rdoc --no-ri' if ENV["USER"] == "root" - run "gem install '#{$gem_path}'" + run "gem install #{options} '#{$gem_path}'" else home_gem_path = Gem.path.grep(/home/).first puts "You are installing as an unprivileged user, which will result in the installation being placed in '#{home_gem_path}'." print "Do you want to continue installing to #{home_gem_path}? [y/N] " input = STDIN.readline if input =~ /[yY]/ - puts "gem install '#{$gem_path}' --user-install" + run "gem install #{options} --user-install '#{$gem_path}'" else puts "bailing out." end -- cgit v1.2.3