Skip to content

Commit

Permalink
when installing a new gem don't install the rdoc and ri documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
frandieguez committed Dec 30, 2008
1 parent 42a453c commit 893494a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/capistrano/ext/slicehost/gems.rb
Expand Up @@ -17,7 +17,7 @@
desc "Install a gem on the remote server"
task :install, :roles => :app do
name = Capistrano::CLI.ui.ask("Which gem should we install: ")
sudo "gem install #{name}"
sudo "gem install #{name} --no-rdoc --no-ri"
end

desc "Uninstall a gem on the remote server"
Expand Down
2 changes: 1 addition & 1 deletion lib/capistrano/ext/slicehost/ruby.rb
Expand Up @@ -27,7 +27,7 @@
desc "Install Phusion Passenger"
task :install_passenger, :roles => :app do
sudo "apt-get install apache2-mpm-prefork"
sudo "/opt/#{ruby_enterprise_version}/bin/ruby /opt/#{ruby_enterprise_version}/bin/gem install passenger rake"
sudo "/opt/#{ruby_enterprise_version}/bin/ruby /opt/#{ruby_enterprise_version}/bin/gem install passenger rake --no-rdoc --no-ri"
sudo "/opt/#{ruby_enterprise_version}/bin/ruby /opt/#{ruby_enterprise_version}/bin/passenger-install-apache2-module"

put render("passenger.load", binding), "/home/#{user}/passenger.load"
Expand Down

0 comments on commit 893494a

Please sign in to comment.