Weird error on startup

14 views
Skip to first unread message

Dan Sosedov

unread,
Sep 16, 2009, 11:15:09 PM9/16/09
to Phusion Passenger Discussions
I was using passenger with apache & nginx before on debian stack, and
it worked fine. no problems at all.

but now im trying to get it working on centos 5. first, i`ve upgraded
gems, installed all necessary modules & libs for passenger. everything
like usual. but at startup (when typing site url) im getting this
error:

no such file to load -- rack/builder

It is weird. In irb i can load that library without a problems.

Any suggestions?

trustfundbaby

unread,
Sep 16, 2009, 11:43:13 PM9/16/09
to Phusion Passenger Discussions
where is the error coming from?
what does your config.gem section of environment.rb look like?
What version of Rails are you using?

Details man ... details!!!
:D

Dan Sosedov

unread,
Sep 17, 2009, 12:14:32 AM9/17/09
to Phusion Passenger Discussions
Well, as i said the error is a standard passenger web error. Error is
on the line 1 of config.ru.
Im actually not using Rails. The website is written on sinatra, but i
had experience with such deployments in past.
And i think its no the application problem, i just transferred it from
other server.

I just dont really know what to search regarding this problem.

Dan Sosedov

unread,
Sep 17, 2009, 12:37:55 AM9/17/09
to Phusion Passenger Discussions
And BTW, here is error line from log:

*** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner
(no such file to load -- rack/builder) (process 8250):
from config.ru:1

Dan Sosedov

unread,
Sep 17, 2009, 12:48:20 AM9/17/09
to Phusion Passenger Discussions
I solved that problem, it was my mistake. It happens when you`re doing
something with gems (update, install). So, you need just to rebuild
the apache passenger module.
Now it works fine )
Reply all
Reply to author
Forward
0 new messages