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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Error 503 after upgrade

Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2008, 02:43 AM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
Default Error 503 after upgrade

I've upgraded to the latest lsws 3.3.7. I've also upgraded all gems incl. rails 2.0.2. Now, after adding a new app to the server, I get an 503 error message in the drop down layer when clicking on "About your application
Reply With Quote
  #2  
Old 03-05-2008, 07:23 AM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
I also see that when I access an rails 1.2.3 app it's seems to start two instances of ruby. Should just be one, right?
Reply With Quote
  #3  
Old 03-05-2008, 09:09 AM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
The app in rails 2.0.2 works when I start it with Webrick. It's something with LSWS.
Reply With Quote
  #4  
Old 03-05-2008, 09:13 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please follow our trouble shooting guide

http://www.litespeedtech.com/support...s:troubleshoot
Reply With Quote
  #5  
Old 03-05-2008, 09:35 AM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
The log says I didn't install rails 2.0.2. But I did. The only thing is that it doesn't show up in /usr/local/lib/ruby/gems/1.8/gems/, which is really weird. When I do "gem list" it says I have rails 2.0.2 and 1.2.3.

It should be there, right? Do you have any idea what could be wrong? I have these variables in my .profile:

export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH
export GEM_PATH=/usr/local/lib/ruby/gems/1.8
export GEM_HOME=/usr/local/lib/ruby/gems/1.8/gems
Reply With Quote
  #6  
Old 03-05-2008, 10:29 AM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
I think I found the problem. With this setup I obviously got a gem repository inside the directory I thought where the repository, and there where all the gems (if you follow). So it should be:

export GEM_PATH=/usr/local/lib/ruby/gems/1.8
export GEM_HOME=/usr/local/lib/ruby/gems/1.8

Not much of a LSWS problem but it might help someone else.
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 07:38 AM.



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