From: Venkat Alla Date: 2009-04-28T23:06:05+09:00 Subject: Re: Internal server error while trying to load active_record James Britt wrote: > Venkat Alla wrote: >> Come on guys, please don't break my heart. Please throw me some ideas. >> Please... > > Where are your gems installed, and where is apache looking to find > gems? > > Are you sure the AR gem is where apache is looking? > > > > > > -- > James Britt > > www.jamesbritt.com - Playing with Better Toys > www.ruby-doc.org - Ruby Help & Documentation > www.rubystuff.com - The Ruby Store for Ruby Stuff Thanks for reply James. I think I found the issues. One of the dependencies for the active_record, which is activesupport ended up in ~/.gem/ruby/1.8/gems/activesupport-2.3.2 directory. Looks like the apache could not get to it, while the same script works fine from the command line. A new 'gem install activesupport' resolved that issue. However before I figured this I moved on to 'fastcgi', and ditched 'mod_ruby'. I may test it again with 'mod_ruby' just make sure that is the case. -- Posted via http://www.ruby-forum.com/.