Skip to content

Commit

Permalink
Don't try to install rails each time setup is run because the gem com…
Browse files Browse the repository at this point in the history
…mand isn't very smart and it re-installs the gem even if it's already installed, which can be very slow.
  • Loading branch information
pauldowman committed Oct 23, 2009
1 parent 4c6bdf8 commit 88f6762
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gem/lib/ec2onrails/recipes/server.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@
be with an array of strings. be with an array of strings.
DESC DESC
task :install_gems do task :install_gems do
sudo "gem install rails --no-ri --no-rdoc" # Make sure the latest Rails is installed.
if cfg[:rubygems] if cfg[:rubygems]
allow_sudo do allow_sudo do
cfg[:rubygems].each do |g| cfg[:rubygems].each do |g|
Expand Down

0 comments on commit 88f6762

Please sign in to comment.