minor: don't use sudo for rake installation tasks

This commit is contained in:
Mike Dirolf 2009-12-02 10:12:55 -05:00
parent 1423abea7b
commit 86d517adf4
1 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ namespace :gem do
task :install do
sh <<EOS
#{gem_command} build mongo-ruby-driver.gemspec &&
sudo #{gem_command} install mongo-*.gem &&
#{gem_command} install mongo-*.gem &&
rm mongo-*.gem
EOS
end
@ -106,7 +106,7 @@ EOS
task :install_extensions do
sh <<EOS
#{gem_command} build mongo-extensions.gemspec &&
sudo #{gem_command} install mongo_ext-*.gem &&
#{gem_command} install mongo_ext-*.gem &&
rm mongo_ext-*.gem
EOS
end