9fa3cc7e68 | ||
---|---|---|
lib | ||
.gitignore | ||
CHANGELOG.md | ||
Gemfile | ||
LICENSE.txt | ||
README.md | ||
Rakefile | ||
capistrano-rails-console.gemspec |
README.md
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
- 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