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

  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

License

The gem is available as open source under the terms of the MIT License.