Skip to content

Instantly share code, notes, and snippets.

@matth
Created July 28, 2011 10:44
Show Gist options
  • Save matth/1111359 to your computer and use it in GitHub Desktop.
Save matth/1111359 to your computer and use it in GitHub Desktop.
Blank lines in Foreman Procfile
echo1: echo "Hello world 1"
echo2: echo "Hello world 2"
$ foreman start
/Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/foreman-0.19.0/lib/foreman/engine.rb:38:in `block in processes': undefined method `update' for nil:NilClass (NoMethodError)
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/foreman-0.19.0/lib/foreman/engine.rb:27:in `each'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/foreman-0.19.0/lib/foreman/engine.rb:27:in `inject'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/foreman-0.19.0/lib/foreman/engine.rb:27:in `processes'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/foreman-0.19.0/lib/foreman/engine.rb:44:in `process_order'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/foreman-0.19.0/lib/foreman/engine.rb:49:in `processes_in_order'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/foreman-0.19.0/lib/foreman/engine.rb:59:in `start'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/foreman-0.19.0/lib/foreman/cli.rb:23:in `start'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/gems/foreman-0.19.0/bin/foreman:7:in `<top (required)>'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/bin/foreman:19:in `load'
from /Users/matth/.rvm/gems/ruby-1.9.2-p180/bin/foreman:19:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment