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
Florian Schwab b8526b7d16 Merge pull request #4 from thomasdarde/patch-1
Allow ssh connection via hostname only
2014-12-18 22:05:18 +01:00
lib Allow ssh connection via hostname only 2014-12-17 16:20:16 +01:00
.gitignore initial import 2013-11-09 15:58:59 +01:00
capistrano-rails-console.gemspec added some comments / documentation 2014-02-09 14:14: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 initial import 2013-11-09 15:58:59 +01:00

Capistrano::Rails::Console

Remote rails console for capistrano

Installation

Add this line to your application's Gemfile:

gem 'capistrano', '~> 3.0.0'
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

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