...group :deploy do gem 'whenever', require: false end Add it to your config/deploy.rb: For Capistrano 2 set :application, 'PROJECT_NAME' # might be already set set :whenever_command, "bundle exec whenever...

...to run cronjobs on the :db server. That's just fine for us. For Capistrano 3 set :application, 'PROJECT_NAME' # might be already set set :whenever_roles , [:cron] set :whenever...

makandra dev

You can call bin/webpack explicitely to compile files to public/packs. When deploying with Capistrano this is done automatically by the compile:assets task. Why Webpacker sometimes does not re...

...your deploy.rb add this: require 'backports/1.9.2/array/select' Background You propably have an older version of Capistrano and thereby an older version of net-ssh which is used by Capistrano to connect...

...proxy env variable, Bundler will also look for a http_proxy env variable. With Capistrano Ideally the server you're deploying on exports an https_proxy variable for all shells...

...t have control over the server setup, you can also add this to your Capistrano config: set :bundle_env_variables, { 'https_proxy' => 'http://myproxy...

...will keep using the cached font and not see new icons. When deploying with capistrano, the following workaround will cause a new font file to be generate on every deploy...

makandra dev
github.com

Guided deployment, including push, merge, switch branches. Does nothing without confirmation. geordi capistrano Run something for all Capistrano environments, e.g. geordi cap deploy geordi setup -t -d staging...

makandracards.com

deploy-to-production now calls Capistrano with bundle exec since we started to bundle Capistrano in all projects...

makandra dev
github.com

...version-agnostic, or remotely, e.g. geordi console staging shell: open a shell on a Capistrano target, optionally selecting the server with --select-server tests: run all employed tests; checks for...

...mentioned in the BUNDLED_WITH block: BUNDLED WITH 1.17.1 This broke during deployment while Capistrano tries to run bundle --deployment --quiet --without development test. On our development machines bundle install...

...will ask you for the names of your master branch, production branch and production Capistrano stage. Get the new script by saying sudo gem install geordi You can now say...

...the dump to your project's tmp directory and name it according to the capistrano stage you're calling for, here: staging.dump. When you pass the optional -s option, the...

makandra dev

Typically this can cause an error while deploying an application with capistrano: could not verify server signature (SSHKit::Runner::ExecuteError) or Ed25519::VerifyError: signature verification failed!

makandra dev

...task raised a "can't convert Hash into String" error e.g. while deploying with Capistrano. https://github.com/makandra/craken

ombulabs.com

179.62 sass-rails 205.04 delayed_job_active_record 286.76 rails 289.36 mail 291.98 capistrano 326.05 delayed_job 414.27 pry 852.13 salesforce_bulk_api

...on the next request. http://blog.phusion.nl/2014/01/02/phusion-passenger-4-0-33-released/ If you want to use this with capistrano 2.x just replace the touch command: - run "touch #{current_path}/tmp/restart.txt" + run "passenger-config...

...restart-app --ignore-app-not-running #{deploy_to}" If you are using capistrano 3.x: - execute :touch, "#{current_path}/tmp/restart.txt" + execute "passenger-config restart-app --ignore-app-not-running #{deploy...

github.com

Capistrano recipes for database backups before migrations, passenger deployment strategy, release tagging in Git repos...

Remove gem oniguruma Remove gem fastercsv Replace gem mysql with mysql2 Update gem capistrano 2.12.0 to ~>2.12 when bound for Ruby 1.8.7 and remove obsolete explicite Gemfile entries for...