unicorn failing to start
stefanmaier at gmail.com
Fri May 28 15:19:14 EDT 2010
Am 28.05.10 20:49, schrieb Eric Wong:
> Stefan Maier <stefanmaier at gmail.com> wrote:
>> i'm trying to start up unicorn_rails with a rails 3 beta3 project. All I
>> can get out of it is this:
>> I, [2010-05-28T08:54:45.770957 #17852] INFO -- : reaped
>> #<Process::Status: pid 17854 exit 1> worker=0
>> I, [2010-05-28T08:54:45.771200 #17852] INFO -- : worker=0 spawning...
>> I, [2010-05-28T08:54:45.774049 #17858] INFO -- : worker=0 spawned pid=17858
>> I, [2010-05-28T08:54:45.774350 #17858] INFO -- : Refreshing Gem list
>> `new': wrong number of arguments (1 for 2) (ArgumentError)
>> Any ideas what's wrong?
> Hi Stephan,
> I've heard (but not confirmed myself) Rails 3 doesn't work well with
> Ruby 1.9.1, but does with 1.9.2dev (trunk), and 1.8.7. Can you give
> either of those versions of Ruby a try?
> Another thing that's probably not the issue here, but since config.ru is
> present, give "unicorn" a shot instead of "unicorn_rails" as the latter
> hasn't been tested heavily with Rails 3. "unicorn_rails" was designed
> with older Rails in mind.
> Let us know what you find, thanks!
Using the config.ru with "unicorn" does indeed work.
If I have the time I'll investigate other ruby versions tomorrow.
More information about the mongrel-unicorn