Go to file
Florian Schwab 145dd58a90 prepare v2.0.0 release 2016-09-16 00:40:37 +02:00
lib switch to sshkit-interactive 2016-09-16 00:39:27 +02:00
.gitignore initial import 2013-11-09 15:58:59 +01:00
CHANGELOG.md prepare v2.0.0 release 2016-09-16 00:40:37 +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 switch to sshkit-interactive 2016-09-16 00:39:27 +02:00
Rakefile initial import 2013-11-09 15:58:59 +01:00
capistrano-rails-console.gemspec switch to sshkit-interactive 2016-09-16 00:39:27 +02:00

README.md

Gem Version Dependencies Code Climate

Join the chat

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

Options

Rails environment

set :console_env, :production

User

set :console_user, :appuser

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.