2013-11-09 14:49:28 +00:00
|
|
|
# Capistrano::Rails::Console
|
|
|
|
|
|
|
|
Remote rails console for capistrano
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Add this line to your application's Gemfile:
|
|
|
|
|
2015-02-10 20:00:25 +00:00
|
|
|
```ruby
|
|
|
|
gem 'capistrano-rails-console'
|
|
|
|
```
|
2013-11-09 14:49:28 +00:00
|
|
|
|
|
|
|
And then execute:
|
|
|
|
|
|
|
|
$ bundle
|
|
|
|
|
|
|
|
Or install it yourself as:
|
|
|
|
|
|
|
|
$ gem install capistrano-rails-console
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Require in `Capfile` to use the default task:
|
|
|
|
|
2015-02-10 20:00:25 +00:00
|
|
|
```ruby
|
|
|
|
require 'capistrano/rails/console'
|
|
|
|
```
|
2013-11-09 14:49:28 +00:00
|
|
|
|
|
|
|
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
|
2015-02-10 20:00:25 +00:00
|
|
|
|
|
|
|
|
2015-02-21 12:32:32 +00:00
|
|
|
|
|
|
|
|
2015-02-10 20:00:25 +00:00
|
|
|
[![Gem Version](https://img.shields.io/gem/v/capistrano-rails-console.svg)](https://rubygems.org/gems/capistrano-rails-console)
|
2015-03-22 21:37:23 +00:00
|
|
|
[![Dependencies](https://img.shields.io/gemnasium/ydkn/capistrano-rails-console.svg)](https://gemnasium.com/ydkn/capistrano-rails-console)
|
2015-02-21 12:32:32 +00:00
|
|
|
[![Code Climate](https://img.shields.io/codeclimate/github/ydkn/capistrano-rails-console.svg)](https://codeclimate.com/github/ydkn/capistrano-rails-console)
|