Go to file
Florian Schwab 725df771c6 bump version to 0.5.2 2015-04-02 15:07:56 +02:00
lib bump version to 0.5.2 2015-04-02 15:07:56 +02:00
.gitignore initial import 2013-11-09 15:58:59 +01:00
CHANGELOG.md bump version to 0.5.2 2015-04-02 15:07:56 +02:00
Gemfile initial import 2013-11-09 15:58:59 +01:00
LICENSE.txt initial import 2013-11-09 15:58:59 +01:00
README.md added info about sandbox mode to readme 2015-03-23 23:19:06 +01:00
Rakefile initial import 2013-11-09 15:58:59 +01:00
capistrano-rails-console.gemspec definitly should be tested before allowing it to be installed with capistrano >= 4.0.0 2015-02-09 23:38:19 +01:00

README.md

Gem Version Dependencies Code Climate

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request