Capistrano::WebsocketRails
WebsocketRails integration for Capistrano
Installation
Add this line to your application's Gemfile:
gem 'capistrano-websocket-rails', group: :development
And then execute:
$ bundle
Usage
Add the following to your Capfile.
require 'capistrano/websocket-rails'
Configurable options, shown here with defaults:
:websocket_rails_default_hooks => true
:websocket_rails_pid => shared_path.join('tmp', 'pids', 'websocket_rails.pid')
:websocket_rails_env => fetch(:rack_env, fetch(:rails_env, fetch(:stage)))
:websocket_rails_role => :app
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
The gem is available as open source under the terms of the MIT License.