minor: don't use sudo for rake installation tasks
This commit is contained in:
parent
1423abea7b
commit
86d517adf4
4
Rakefile
4
Rakefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user