Skip to content

Instantly share code, notes, and snippets.

@arduanov
Created January 27, 2016 16:58
Show Gist options
  • Select an option

  • Save arduanov/b76165b09c7f8fc6c3a5 to your computer and use it in GitHub Desktop.

Select an option

Save arduanov/b76165b09c7f8fc6c3a5 to your computer and use it in GitHub Desktop.
In Capistrano 2 I had something like this in my Capfile:
set :stage_dir, 'deployment/deploy'
require "./deployment/railsless-deploy.rb"
load 'deployment/deploy' if respond_to?(:namespace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment