LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Ruby/Rails (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=20)
-   -   Rails 3 site not working (http://www.litespeedtech.com/support/forum/showthread.php?t=6123)

nicksnels 07-27-2012 10:38 AM

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

mistwang 07-29-2012 02:29 PM

change line 9 of Rails2Runner.rb from

from
Quote:

require 'config/boot'
to

Quote:

require './config/boot'


All times are GMT -7. The time now is 12:34 AM.