# Invoker - 0.1.1 release, A gem for managing processes in development environment

**URL:** <https://www.ruby-forum.com/t/invoker-0-1-1-release-a-gem-for-managing-processes-in-development-environment/235572>\
**Category:** Ruby\
**Created:** [July 1, 2013, 11:49am UTC](https://www.ruby-forum.com/t/invoker-0-1-1-release-a-gem-for-managing-processes-in-development-environment/235572 "2013-07-01T11:49:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 1, 2013, 11:49am UTC](https://www.ruby-forum.com/t/invoker-0-1-1-release-a-gem-for-managing-processes-in-development-environment/235572/1 "2013-07-01T11:49:41Z")

</div>

Hello Folks,

Invoker is a gem for managing processes in development environment. You  
can  
install the gem via:

```
~> gem install invoker

```

And you can clone the code from:

> **[GitHub - code-mancers/invoker: An awesome utility to manage all your...](https://github.com/code-mancers/invoker)**
>
> An awesome utility to manage all your processes in development environment - GitHub - code-mancers/invoker: An awesome utility to manage all your processes in development environment

After Installing gem, you need to create a configuration file:

```
[rails]
directory = /home/gnufied/god_particle
command = zsh -c 'bundle exec rails s -p 5000'

[dj]
directory = /home/gnufied/god_particle
command = zsh -c 'bundle exec ruby script/delayed_job'

[events]
directory = /home/gnufied/god_particle
command = zsh -c 'bundle exec ruby script/event_server'

```

And then you can start invoker supervisor by running:

```
~> invoker start invoker.ini

```

Now additionally you can control individual process by,

```
# Will try to stop running delayed job by sending SIGINT to the 

```

process  
~\> invoker remove dj

```
# If Process can't be killed by SIGINT send a custom signal
~> invoker remove dj -s 9

# add and start running
~> invoker add dj

# List currently running processes managed by invoker
~> invoker list

# Restart process given by command Label
~> invoker reload dj

# Restart process given by command label using specific signal for

```

killing  
~\> invoker reload dj -s 9

Changes:

## 0.1.1

- Added support for restarting a process
- Added support for listing currently running processes.
- Rewrote internals of Invoker to be more threadsafe.

Fluff:

- Introduction blog post (  
[Introducing Invoker - Manage processes in development envionment](http://crypt.codemancers.com/posts/2013-06-10-introducing-invoker/))
