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:


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

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

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

     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
     ~> invoker reload dj -s 9


## 0.1.1

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


- Introduction blog post (

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CABQG7ZstTXt4JNfPasgyEdWgDiRwGN%2B_VO2ME3Y0fHj6aqv-Yw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
postedJul 1, '13 at 7:09p
activeJul 1, '13 at 7:09p

1 user in discussion

Hemant Kumar: 1 post



site design / logo © 2022 Grokbase