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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Rails stopped running with LSAPI 2.7

Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2007, 08:24 AM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
Default Rails stopped running with LSAPI 2.7

Please help. I updated with gem and now my apps doesn't run.

I should add that I messed around with the gem mysql. I had problem with the update, but after "gem install mysql -- --with-mysql-config" I was able to install it. I don't know if that has anything to do with it.
Reply With Quote
  #2  
Old 09-01-2007, 09:39 AM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
Got it working when installing it myself and skipping gem. Would be better if the gem version works.
Reply With Quote
  #3  
Old 09-01-2007, 11:59 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Uploaded the gem package again, should work now.
Reply With Quote
  #4  
Old 09-01-2007, 12:04 PM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
Quote:
Originally Posted by mistwang View Post
Uploaded the gem package again, should work now.
Great. I'll try it. How do I uninstall the one I installed myself? Do I just remove /usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.9.1/lsapi.bundle?
Reply With Quote
  #5  
Old 09-01-2007, 12:31 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Yes, that will do it.
Reply With Quote
  #6  
Old 09-01-2007, 12:37 PM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
Quote:
Originally Posted by mistwang View Post
Uploaded the gem package again, should work now.
It doesn't. Could it be something about rights? I run the server with me as user and group
Reply With Quote
  #7  
Old 09-01-2007, 01:16 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Has the gem being properly installed. maybe it take for a while to have all rubyforge mirrors got synced. Can you compare the source files in the gem package and the tar.gz package from our site?
Reply With Quote
  #8  
Old 09-01-2007, 01:28 PM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
Quote:
Originally Posted by mistwang View Post
Has the gem being properly installed. maybe it take for a while to have all rubyforge mirrors got synced. Can you compare the source files in the gem package and the tar.gz package from our site?
I guess I could. Haven't done something like that before.

--

Now when I look in /usr/local/lib/ruby/gems/1.8/gems/ I find another dir called gems (that is ../gems/gems/) and in there I find a directory called ruby-lsapi-2.7. Should it be there?
Reply With Quote
  #9  
Old 09-01-2007, 01:34 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It should be /usr/local/lib/ruby/gems/1.8/gems/ruby-lsapi-2.7, something wrong with your gem installation.
Reply With Quote
  #10  
Old 09-01-2007, 02:19 PM
palb palb is offline
Senior Member
 
Join Date: Jul 2007
Posts: 143
Quote:
Originally Posted by mistwang View Post
It should be /usr/local/lib/ruby/gems/1.8/gems/ruby-lsapi-2.7, something wrong with your gem installation.
Hmm. I think I'll uninstall everything about Rubygems and reinstall it. Do you know if that means rm the gems directory in /usr/local/lib/ruby/gems/1.8? And what is this site_ruby directory? Should I also remove the file rubygems.rb in there?

(Btw, in site_ruby I also have a file called ubygems.rb. Sounds strange, doesn't it.)
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 12:19 PM.



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