RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: philipp-spiess
Site: myxcode.at
Edit: Executing the command on the server without Capistrano seems to work. :/
Great screencast :)
But I ran into a problem when Capistrano tries to build my assets. I have no idea what's going on, if I start rails locally, everything works fine!
* executing `deploy:assets:precompile' * executing "cd /home/deployer/apps/app/releases/20120331112826 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile" servers: ["example.com"] [example.com] executing command [example.com] sh -c 'cd /home/deployer/apps/app/releases/20120331112826 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile' ** [out :: example.com] rake aborted! ** [out :: example.com] ** [out :: example.com] cannot load such file -- bcrypt ** [out :: example.com] ** [out :: example.com] ** [out :: example.com] (See full trace by running task with --trace) ** [out :: example.com] command finished in 5227ms *** [deploy:update_code] rolling back
But in my Gemfile I have bccrypt-ruby set up.
gem 'bcrypt-ruby', :require => "bcrypt"
Edit: Executing the command on the server without Capistrano seems to work. :/
Great screencast :)
But I ran into a problem when Capistrano tries to build my assets. I have no idea what's going on, if I start rails locally, everything works fine!
But in my Gemfile I have bccrypt-ruby set up.