Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Herd a pack of Rails mongrels
tree: ef9621a377

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
.gitignore
MIT-LICENSE
README.rdoc

README.rdoc

Herd

Herd a pack of Rails mongrels. You can use it to control multiple mongrel clusters in different directories at the same time. herd started

Syntax

herd action projectname

Examples

herd init

herd init foobar

Create a new entry in ~/.herd.yml for the foobar project:

---
foobar:
  merbs: []
  mongrel_options: []
  rails_dirs: []

The next step is to edit this entry in a text editor, to define your rails and/or merb directories and mongrel options:

---
foobar:
  merbs:
    - ~/projects/foobar/fileserver
  mongrel_options: --clean
  rails_dirs:
    - ~/projects/foobar/backend
    - ~/projects/foobar/frontend

herd start | stop | restart

herd start   projectname
herd stop    projectname
herd restart projectname

Send a command to the mongrel cluster of each rails directory in the project.

herd list

herd list

List a short summary of all existing projects:

foobar
  rails_dirs: 2
    - ~/projects/foobar/backend
    - ~/projects/foobar/frontend
  merbs: 1
    - ~/projects/foobar/fileserver
  mongrel_options: --clean

Author

Herd was created by Wes Oldenbeuving in 2008. This code is licensed under the MIT license.

Something went wrong with that request. Please try again.