ddollar/foreman — Issue #107: Error with foreman start + virtualenv + python + Ruby 1.8.7 (patchlevel 249)
Author: carlosescri
Created: 2011-12-22 16:36:33+00:00
State: open

Hi!

I'm following (this python tutorial)[http://devcenter.heroku.com/articles/python] for Heroku and when I try to run `foreman start` (this way)[http://devcenter.heroku.com/articles/python#declare_process_types_with_foremanprocfile] I get this error (virtualenv is activated):

/Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/process.rb:31:in `popen': can't convert Array into String (TypeError)
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/process.rb:31:in `run_process'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/process.rb:19:in `run'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/process.rb:53:in `with_environment'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/process.rb:18:in `run'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/process.rb:17:in `chdir'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/process.rb:17:in `run'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/procfile_entry.rb:17:in `spawn'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/procfile_entry.rb:15:in `map'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/procfile_entry.rb:15:in `spawn'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/engine.rb:60:in `spawn_processes'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/engine.rb:58:in `each'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/engine.rb:58:in `spawn_processes'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/engine.rb:42:in `start'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/lib/foreman/cli.rb:19:in `start'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Library/Ruby/Gems/1.8/gems/foreman-0.29.0/bin/foreman:7
from /usr/bin/foreman:19:in `load'
from /usr/bin/foreman:19

I'm using python 2.7 and Mac OS X Lion. I don't know the Ruby programming language.