Error 503 after upgrade

palb

Well-Known Member
#1
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
 

palb

Well-Known Member
#2
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?
 

palb

Well-Known Member
#5
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
 

palb

Well-Known Member
#6
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.
 
Top