Do you have a 'RailsBaseURI /' directive in your Apache config? That
forces Phusion Passenger to detect the app as a Rails 1 or 2 app, so
please remove it to allow proper autodetection.
On Sun, Jan 13, 2013 at 6:12 AM, ca <
chandan...@gmail.com> wrote:
> I am getting the following error when I run the latest code in github. The
> application was running fine when running Passenger 3.0.18, but am getting
> this error when I update to the latest in github. Application is a ruby on
> rails application running on Apache 2.2.21 + Passenger, on Mac OS X 10.7.4.
>
>
> [ pid=211 thr=0x1017ab000
> file=ext/common/agents/HelperAgent/RequestHandler.h:1753 time=2013-01-12
> 20:27:47.7669 ]: [Client 28] Cannot checkout session. An error occured while
> starting up the preloader.
> Error page:
> This application is a Rails 3 application, but it was wrongly detected as a
> Rails 1 or Rails 2 application. This is probably a bug in Phusion Passenger,
> so please report it.
> !> Error
> !>
> exit (SystemExit)
>
> /Users/local/Desktop/passenger/helper-scripts/classic-rails-preloader.rb:79:in
> `exit'
>
> /Users/local/Desktop/passenger/helper-scripts/classic-rails-preloader.rb:79:in
> `preload_app'
>
> /Users/local/Desktop/passenger/helper-scripts/classic-rails-preloader.rb:156
>
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/phusion-passenger/-/_VoplXeFfZMJ.
> To post to this group, send email to
phusion-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
phusion-passen...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/phusion-passenger?hl=en.
--
Phusion | Ruby & Rails deployment, scaling and tuning solutions
Web:
http://www.phusion.nl/
E-mail:
in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)