Capistrano::Rails::Log
Remote rails logs for capistrano
Installation
Add this line to your application's Gemfile:
gem 'capistrano-rails-log'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-rails-log
Usage
Require in Capfile
to use the default task:
require 'capistrano/rails/log'
This will add a task rails:log
:
$ cap production rails:log
You can also start a sandbox session:
$ cap production rails:log sandbox=1
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Special thanks
This gem has been totally inspired by capistrano-rails-console and this post from talkinquickly. All the merit is theirs.