Skip to content

Commit

Permalink
Fixing gem install
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed Oct 20, 2010
1 parent c2fc812 commit fc88464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/before_migrate.rb
Expand Up @@ -20,7 +20,7 @@ def do_symlinks(folder)


if %w(app_master app util solo).include?(node[:instance_role]) if %w(app_master app util solo).include?(node[:instance_role])
# gems for app # 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 # 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' 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'


Expand Down

0 comments on commit fc88464

Please sign in to comment.