Hello
We have this software:
passenger 4.0.20 compiled with ruby 1.9.3 . This is the default ruby
Ruby 1.8.7
Apps working with 1.8.7 via PassengerRuby
apache
These 1.8.7 apps work fine until, we do not know at this moment, they
'lose' PassengerRuby directive . Then they fail because they are
trying to use default ruby (1.9.3) instead the specified one in
PassengerRuby for the vhost
If apache is restarted, then app woks fine again.
This issue is hard to replicate , it happens 'sometimes'. We have
seen it with rails2 apps and with rails3 apps
App vhost configuration example:
RailsBaseURI /
PassengerAppRoot /user/path/app
SetEnv GEM_PATH /user_path_gems
SetEnv GEM_HOME /user_path_gems
PassengerRuby /path_to_ruby_187
Example error: ( it changes with the app, ):
An error occured while starting up the preloader
Error page:
(<unknown>): did not find expected node content while parsing a block
node at line 183 column 9 (Psych::SyntaxError)
After restarting apache, app works.
Any clue about this?
Thanks.
2013/11/29, Randy Schmidt <
m...@r38y.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
phusion-passen...@googlegroups.com.
> To post to this group, send email to
phusion-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/phusion-passenger.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/phusion-passenger/c436d9c2-def9-46b5-bc72-a2a3b369eefe%40googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>