ddollar/foreman — Issue #89: foreman not starting a service in Procfile
Author: khy
Created: 2011-10-20 13:54:14+00:00
State: open

Here is my Procfile:

```
web: bundle exec rails server thin -p 8097
svc-moment: /web/svc-moment/bin/dev.sh
```

I've been using foreman on my current project for about a month or so, and it's been great. Then suddenly yesterday, svc-moment stopped coming up when I ran `foreman start`.

Running `/web/svc-moment/bin/dev.sh` in the shell works just fine, but `foreman start svc-moment` throws the following error:

```
/Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/gems/foreman-0.25.0/lib/foreman/engine.rb:67:in `fork': undefined method `name' for nil:NilClass (NoMethodError)
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/gems/foreman-0.25.0/lib/foreman/engine.rb:44:in `execute'
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/gems/foreman-0.25.0/lib/foreman/cli.rb:21:in `start'
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/gems/foreman-0.25.0/bin/foreman:7
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/bin/foreman:19:in `load'
from /Users/khyland/.rvm/gems/ree-1.8.7-head@moment_admin/bin/foreman:19
```

Obviously just a minor inconvenience for my workflow, but still confusing and I thought it'd probably be worth bringing up. Let me know if there's any other information I can provide.