ArgumentError when starting Unicorn on Heroku

2013-05-25 Thread Jack Royal-Gordon
Switched my RoR (3.1.3, 1.9.2, Cedar Platform) app from Thin to Unicorn (4.6.2). It ran fine in development (Mac OSX), but when deploying to production on Heroku, it fails with the following messages: Starting process with command `bundle exec unicorn start -p 6069 -c ./config/unicorn.rb`

Re: ArgumentError when starting Unicorn on Heroku

2013-05-25 Thread Daniel Farina
On Sat, May 25, 2013 at 2:33 AM, Jack Royal-Gordon jac...@pobox.com wrote: Switched my RoR (3.1.3, 1.9.2, Cedar Platform) app from Thin to Unicorn (4.6.2). It ran fine in development (Mac OSX), but when deploying to production on Heroku, it fails with the following messages: Starting

Re: ArgumentError when starting Unicorn on Heroku

2013-05-25 Thread Daniel Doubrovkine
Does that command run locally as is? It's likely that you have a global unicorn in /etc/init.d or something like that which supports those start commands (like this one: https://gist.github.com/jaygooby/504875). Unicorn by itself takes port and config via -p and -c. See the example in Procfile