Anyone else having a dickens of a time getting Passenger+Apache2 to recognize the gem path? Many things that work well w/ webbrick just don''t work at all with P+A - require fails. Here are my versions: gem 1.3.3 (from source, partly in attempt to get this working...) Rails 2.3.2 Jaunty Jackalope (32-bit) passenger 2.2.2 Apache 2.2.11 Thanks, m --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, May 8, 2009 at 6:13 PM, Marc Byrd <dr.marc.byrd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Anyone else having a dickens of a time getting Passenger+Apache2 to > recognize the gem path? > > Many things that work well w/ webbrick just don''t work at all with P+A - > require fails. > > Here are my versions: > gem 1.3.3 (from source, partly in attempt to get this working...) > Rails 2.3.2 > Jaunty Jackalope (32-bit) > passenger 2.2.2 > Apache 2.2.11 > > Thanks, > > > m > >Can you provide some additional details about the platform you''re using and the actual error message? -Conrad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Platform - Ubuntu, 32-bit on EC2, jaunty jackalope On line that says "require ''cloud_cache'' " it says file not found. Note that in order to get "require ''simple_record'' " to load properly I had to chown www-data:www-data on its files. I did the same on "cloud_cache" files but no joy. Again, all work perfectly well under webbrick. thanks, m On Fri, May 8, 2009 at 6:17 PM, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, May 8, 2009 at 6:13 PM, Marc Byrd <dr.marc.byrd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Anyone else having a dickens of a time getting Passenger+Apache2 to >> recognize the gem path? >> >> Many things that work well w/ webbrick just don''t work at all with P+A - >> require fails. >> >> Here are my versions: >> gem 1.3.3 (from source, partly in attempt to get this working...) >> Rails 2.3.2 >> Jaunty Jackalope (32-bit) >> passenger 2.2.2 >> Apache 2.2.11 >> >> Thanks, >> >> >> m >> >> > Can you provide some additional details about the platform you''re using and > the actual error message? > > -Conrad > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Are you using passenger''s ruby? Seems I remember reading that if you are you need to install gems via both the system-ruby and the passenger-ruby as they end up in different spots and passenger-ruby only looks for them in it''s own directory heirarchy. -p On May 8, 2009, at 6:58 PM, Marc Byrd wrote:> Platform - Ubuntu, 32-bit on EC2, jaunty jackalope > > On line that says "require ''cloud_cache'' " it says file not found. > > Note that in order to get "require ''simple_record'' " to load > properly I had > to chown www-data:www-data on its files. I did the same on > "cloud_cache" > files but no joy. > > Again, all work perfectly well under webbrick. > > thanks, > > m > > > > On Fri, May 8, 2009 at 6:17 PM, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > >> On Fri, May 8, 2009 at 6:13 PM, Marc Byrd <dr.marc.byrd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> wrote: >> >>> Anyone else having a dickens of a time getting Passenger+Apache2 to >>> recognize the gem path? >>> >>> Many things that work well w/ webbrick just don''t work at all with >>> P+A - >>> require fails. >>> >>> Here are my versions: >>> gem 1.3.3 (from source, partly in attempt to get this working...) >>> Rails 2.3.2 >>> Jaunty Jackalope (32-bit) >>> passenger 2.2.2 >>> Apache 2.2.11 >>> >>> Thanks, >>> >>> >>> m >>> >>> >> Can you provide some additional details about the platform you''re >> using and >> the actual error message? >> >> -Conrad >> >> >>> >> > > >
Check if you have forgotten to "symlink" the ruby executables? You have to do that regardless of whether you are using Ruby Enterprise or MRI. See the following article by Peter Cooper. I am using Ruby Enterprise so I sylinked accordingly. http://www.rubyinside.com/how-to-install-a-ruby-18-stack-on-ubuntu-810-from-scratch-1566.html If you follow everything step-by-step, it should work. Generally, it is a missed step somewhere that creates such problems. Bharat