Capistrano Remote Cache With Project Root Deployment Strategy
This library extends the RemoteCache strategy in order to
support deployment from internal folders, e.g. yours
Rails.root
resides inside /yourapp
.
Installation
Add this line to your application's Gemfile:
gem 'capistrano-remote-cache-with-project-root'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-remote-cache-with-project-root
Usage
Add these lines to your Capistrano recipe:
set :deploy_via, "remote_cache_with_project_root"
set :project_root, "relative/path/to/your/project"
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request