ruby-on-rails,devise,capistrano,rvm-capistrano
it turned out that my figaro tasks was not executed before the assets:precompile. ive changed my event to before :updated to fix the issue. here are the example of a working figaro in config/deploy.rb cap production deploy --trace # will be useful for debuggging more on capistrano flow namespace :figaro...
ruby-on-rails,deployment,capistrano,capistrano3,rvm-capistrano
A typical multistage configuration of Capistrano would have the following files: Capfile config/deploy.rb config/deploy/staging.rb config/deploy/production.rb The tasks placed in staging.rb or production.rb are available only in those environments. If you want some tasks accessible by any environment, you can place them in config/deploy.rb. If you want to extract them into...
ruby-on-rails,deployment,unicorn,production,rvm-capistrano
The 502 error means there's no communication between nginx and your unicorn process. Upon examining your config files, it seems to me that the issue is that you set unicorn to listen on this socket /var/www/app/shared/unicorn.sock, but you tell nginx to communicate with unicorn through this socket /tmp/unicorn.app.sock Changing your...
ruby-on-rails,ubuntu-12.04,rvm-capistrano,canvas-lms
So we found out that bundler was not installing gems that we needed and that caused the problem. since we deployed with Capistrano we set the set :bundle_without, "nil". OR you can modify the config file to remove the bundle_without line. We ran bundle install --deployment --without test development because...