gems not found

#1
Hi,
I just tried to setup my ruby on rails app in litespeed following the EasyRailsWithSuEXEC template. However, I still can't get my app to load. My browser just sits spinning and eventually I get a 503. In the error log it gives the following for every gem that I require, for example:
/Users/chris/cart/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require': No such file to load -- ferret (MissingSourceFile)
I do a 'gem list' at the command line and they are listed so I know they're not missing. Is this some sort of permissions problem? I'm using Mac OSX by the way.

Thanks for your help,
Chris
 

mistwang

LiteSpeed Staff
#2
Looks like a ruby installation problem. Might be a permission problem. Does plain WEBrick works when started by the user that lsapi ruby process run as?
 
#3
Yes you were correct. Apparently i had two installations of ruby on my box and I was pointing it to the wrong ruby path. Works fine now once I told it to use the other ruby.
I've got another problem now, but I'll create a new thread for it.
Thanks,
Chris
 
Top