This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| executing "cd /var/www/rails/courses/releases/20100413103043; rake RAILS_ENV=production db:migrate" | |
| servers: ["glamcontent.isd.glam.ac.uk"] | |
| [glamcontent.isd.glam.ac.uk] executing command | |
| ** [out :: glamcontent.isd.glam.ac.uk] (in /var/www/rails/courses/releases/20100413103043) | |
| ** [out :: glamcontent.isd.glam.ac.uk] rake aborted! | |
| ** [out :: glamcontent.isd.glam.ac.uk] Access denied for user 'root'@'localhost' (using password: NO) | |
| ** [out :: glamcontent.isd.glam.ac.uk] | |
| ** [out :: glamcontent.isd.glam.ac.uk] (See full trace by running task with --trace) | |
| command finished | |
| failed: "sh -c 'cd /var/www/rails/courses/releases/20100413103043; rake RAILS_ENV=production db:migrate'" on glamcontent.isd.glam.ac.uk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source :gemcutter | |
| gem 'rails', '2.3.5' | |
| gem 'paperclip', '2.3.1.1' | |
| gem 'RedCloth', '4.2.2' | |
| gem 'sanitize', '1.1.0' | |
| gem 'hpricot', '0.8.2' | |
| gem 'httpclient', '2.1.5.2' | |
| gem 'twitter', '0.7.9' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| after "deploy:update_code", "bundler:bundle" | |
| namespace :bundler do | |
| task :bundle do | |
| run "mkdir -p #{%w(cache doc gems specifications).map { |x| "#{shared_path}/bundler_gems/#{x}" }.join(' ')} #{release_path}/vendor/bundler_gems; rm -R #{release_path}/vendor/bundler_gems/*; ln -s #{shared_path}/bundler_gems/* #{release_path}/vendor/bundler_gems/; cd #{release_path}; gem bundle" | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| clear_sources | |
| source 'http://gemcutter.org' | |
| source 'http://gems.github.com' | |
| disable_system_gems | |
| bundle_path 'vendor/bundler_gems' | |
| gem 'rails', '2.3.4' | |
| gem 'paperclip', '2.3.1.1' |