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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Rails 3 site not working

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2012, 10:38 AM
nicksnels nicksnels is offline
Member
 
Join Date: Feb 2007
Posts: 33
Default Rails 3 site not working

Hi,

I'm trying to get a Rails 3 (latest version) site running on Litespeed (also latest version). I have installed ruby-lsapi 4.0 and ruby 1.9.3p194. When I start Litespeed I get the following error in stderr.log:

Quote:
from /usr/local/lsws/fcgi-bin/RailsRunner.rb:9:in `<main>'
2012-07-27 19:31:20.096 [STDERR] /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- config/boot (LoadError)
from /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lsws/fcgi-bin/RailsRunner.rb:9:in `<main>'
Any ideas how I can fix this? Many thanks in advance.

Kind regards,

Nick
Reply With Quote
  #2  
Old 07-29-2012, 02:29 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
change line 9 of Rails2Runner.rb from

from
Quote:
require 'config/boot'
to

Quote:
require './config/boot'
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 11:51 AM.



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