Skip to content
jspooner edited this page Feb 2, 2013 · 4 revisions

TODO

  1. Save EXIF data about photos. http://stackoverflow.com/questions/7047183/how-to-set-an-attribute-for-a-model-instance-in-a-paperclip-post-process-callbac

  2. deploy:build_missing_paperclip_styles

namespace :deploy do desc "build missing paperclip styles" task :build_missing_paperclip_styles, :roles => :app do run "cd #{release_path}; RAILS_ENV=production bundle exec rake paperclip:refresh:missing_styles" end end

after("deploy:update_code", "deploy:build_missing_paperclip_styles")

RUBBER INSTALL PROBLEMS

GRANT ALL PRIVILEGES ON . TO 'pushwood'@'%' IDENTIFIED BY '9278623Y6v87z4J' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON . TO 'pushwood'@'localhost' IDENTIFIED BY '9278623Y6v87z4J' WITH GRANT OPTION;

GRANT ALL PRIVILEGES ON . TO 'pushwood'@'web01.pushwood.com' IDENTIFIED BY '9278623Y6v87z4J' WITH GRANT OPTION;

GRANT ALL PRIVILEGES ON . TO 'pushwood'@'%' IDENTIFIED BY '9278623Y6v87z4J' WITH GRANT OPTION; flush privileges;

mysql --user pushwood -p

REVOKE ALL PRIVILEGES ON 'pushwood_production'.* TO 'pushwood'@'%' WITH GRANT OPTION;

Clone this wiki locally