Home

Awesome

Guard::Process Build Status

Guard to run processes and commands.

This gem requires Ruby 1.9.3, 2.0.0 or JRuby in 1.9 mode.

Usage

Please read the Guard documentation to learn how to use Guard.

There is also an exellent screencast available on Railscasts

Additionally there is a great introductory article on Intridea Blog mentioning Guard::Process.

Guardfile

You can add as many process Guards as you want, an example Guardfile:

  guard 'process', :name => 'EndlessRunner', :command => 'rails runner Something::ThatGoesOnAndOn' do
    watch('Gemfile.lock')
  end

  guard 'process', :name => 'AnotherRunner', :command => ['rails', 'runner', 'AnotherRunner'] do
    watch('Gemfile.lock')
  end

Options

The following options are available:

  {"SSL_CERTS_DIR" => "/etc/ssl/certs", "JAVA_HOME" => "/usr/local/java"}

TODO

Clean up the test cases

Changes

1.1.0

1.0.6

1.0.5

1.0.4

Development

Pull requests are welcome, please make sure your patches are well tested before contributing. When sending a pull request:

License

Guard::Process is released under the MIT license.

Author

Mark Kremer