LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > gems not found

Reply
 
Thread Tools Display Modes
  #1  
Old 01-23-2007, 06:45 PM
cswilliams cswilliams is offline
Member
 
Join Date: Jan 2007
Posts: 24
Default gems not found

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
Reply With Quote
  #2  
Old 01-23-2007, 06:56 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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?
Reply With Quote
  #3  
Old 01-23-2007, 10:09 PM
cswilliams cswilliams is offline
Member
 
Join Date: Jan 2007
Posts: 24
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:07 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.