Skip to content

Instantly share code, notes, and snippets.

@ahorner
Created April 1, 2013 02:05
Show Gist options
  • Save ahorner/5282838 to your computer and use it in GitHub Desktop.
Save ahorner/5282838 to your computer and use it in GitHub Desktop.
require 'cape'
Cape do
mirror_rake_tasks :daemons do |recipes|
recipes.options[:roles] = :app
recipes.env['RAILS_ENV'] = lambda{ rails_env }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment