Skip to content
Browse files

Fixing gem install

  • Loading branch information...
1 parent c2fc812 commit fc88464238df4c752980c4fbd30c52040c976fe1 @winton committed Oct 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 deploy/before_migrate.rb
View
2 deploy/before_migrate.rb
@@ -20,7 +20,7 @@ def do_symlinks(folder)
if %w(app_master app util solo).include?(node[:instance_role])
# gems for app
- sudo "cd #{release_path} && bundle install"
+ sudo "cd #{latest_release} && SUDO=1 rake gems:install"
# something is installing 2 version of rack again!, I think it's rack-flash still
sudo 'if gem list | grep rack | grep 1.1.0; then gem uninstall rack --version=1.1.0; else echo "dont need to uninstall rack version=1.1.0"; fi'

0 comments on commit fc88464

Please sign in to comment.
Something went wrong with that request. Please try again.