mirror of
https://gitlab.com/ydkn/capistrano-rails-console.git
synced 2023-02-13 20:54:14 -05:00
f45e3fc1b2
* update contribute info
1.3 KiB
1.3 KiB
Capistrano::Rails::Console
Remote rails console for capistrano.
Installation
Add this line to your application's Gemfile:
gem 'capistrano-rails-console'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-rails-console
Usage
Require in Capfile
to use the default task:
require 'capistrano/rails/console'
This will add a task rails:console
:
$ cap production rails:console
You can also start a sandbox session:
$ cap production rails:console sandbox=1
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/ydkn/capistrano-rails-console.
License
The gem is available as open source under the terms of the MIT License.