Sha256: aa8e20707d120ab247adca9d0bcb358fbe8d24973a90a1c750c621714a2acf35

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

[![Gem Version](https://badge.fury.io/rb/capistrano-racecar.svg)](http://badge.fury.io/rb/capistrano-racecar)

# Capistrano::Racecar

Sidekiq integration for Capistrano

## Installation

    gem 'capistrano-racecar', group: :development

And then execute:

    $ bundle


## Usage
```ruby
# Capfile
 
require 'capistrano/racecar'

install_plugin Capistrano::Racecar
```


Configurable options, shown here with defaults:

```ruby
set_if_empty :racecar_task_path, 'config/racecar_task.yml'
set_if_empty :racecar_role, :app
set_if_empty :racecar_user, :system
set_if_empty :racecar_ctl, 'bundle exec racecarctl'
set_if_empty :racecar_pid_path, "#{fetch(:deploy_to)}/shared/tmp/pids"
```


## Bundler

If you'd like to prepend `bundle exec` to your racecar calls, modify the SSHKit command maps
in your deploy.rb file:
```ruby
SSHKit.config.command_map[:sidekiq] = "bundle exec sidekiq"
SSHKit.config.command_map[:sidekiqctl] = "bundle exec sidekiqctl"
```

## 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-racecar-1.0.2 README.md