...unset LD_PRELOAD bundle exec rake asset:precompile To permanently set this option in capistrano edit config/deploy.rb: # Disable Jemalloc for asset:precompile task set :default_env, { 'LD_PRELOAD...
...requests should be stored in public/system. Execute assets:precompile only on one server with Capistrano 3 If the assets directory is linked to glusterfs asset:precompile should only be executed...
...role web. You can overwrite this in deploy.rb: set :assets_roles, [:assets] This tells Capistrano that only the role :assets should precompile assets. Now you need to add the :assets...
...please ensure you use version 5.2.0 or newer to ensure you can deploy via Capistrano. It's best to use the latest version, as there were multiple issues between...
Best results in other decks
...your Gemfile next lines into development group: gem 'oz_capistrano_rsync_with_remote_cache' gem 'capistrano-deploy-scm-passthrough' and change deploy.rb like this: require 'rvm/capistrano' require 'bundler/capistrano' set :application...
When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit which was deployed. If you want to know the currently...
...deployed release, simply SSH to a server and view that file. $ cat /var/www/my-project/current/REVISION cf8734ece3938fc67262ad5e0d4336f820689307 Capistrano task When your application is deployed to multiple servers, you probably want to see a...