1
0
Fork 0
mirror of https://gitlab.com/ydkn/capistrano-rails-console.git synced 2023-02-13 20:54:14 -05:00
No description
Find a file
Mark Woods 7add7a7138 Fix SSHKit NoMethodError 'environment_string'
SSHKit::Command#environment_string doesn't exist in sshkit 1.3 due to a
bug/typo, causing NoMethodError when running `cap <stage> rails:console`

Bug was fixed in https://github.com/capistrano/sshkit/commit/f3955d1a,
which was included in 1.4.0, so update gemspec to require sshkit >= 1.4
2016-04-19 09:19:19 +01:00
lib use capistrano-interactive for connection stuff 2015-11-12 23:27:52 +01:00
.gitignore initial import 2013-11-09 15:58:59 +01:00
capistrano-rails-console.gemspec Fix SSHKit NoMethodError 'environment_string' 2016-04-19 09:19:19 +01:00
CHANGELOG.md Merge branch 'sshkit18_fix' 2015-12-06 10:54:03 +01:00
Gemfile initial import 2013-11-09 15:58:59 +01:00
LICENSE.txt initial import 2013-11-09 15:58:59 +01:00
Rakefile initial import 2013-11-09 15:58:59 +01:00
README.md * add license info to README 2015-11-12 23:10:04 +01:00

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

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.