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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Litespeed + Ruby/RoR + cPanel, problems installing Redmine

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-05-2012, 10:15 AM
tracktor1 tracktor1 is offline
Member
 
Join Date: May 2012
Posts: 10
Question Problem installing RoR app in Litespeed (no such file to load -- lsapi)

Hi guys!

I am having some problems installing Redmine (as an example of RoR app) in Litespeed (cPanel 11.32/CloudLinux)

We are installing Redmine from a test cPanel account (logged as a normal user for redmine installation steps), the goal is document the process and make a tutorial to teach our clients about how to use Litespeed + Ruby / RoR.

Its a shared hosting server with cPanel, to complete the installation of Redmine 1.4 I used several resources:

http://www.asyndetic.com/blog/2012/0...g-environment/
http://www.litespeedtech.com/support...iki:ruby_rails
http://www.litespeedtech.com/support...:rails_hosting
http://www.geekstorage.com/blog/inde...at-geekstorage

Finally we achieve the installation of Redmine but does not run properly, get this error:

Code:
503 Service Unavailable
Checking the logs I see:

Code:
2012-06-05 18:22:09.558 [STDERR] /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require': no such file to load -- lsapi (MissingSourceFile)
	from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
	from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
	from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
	from /usr/local/lsws/fcgi-bin/RailsRunner.rb:29

We have installed ruby-lsapi, restarted the app, restarted LiteSpeed and nothing... always have the same error.


Other info:
Code:
# gem list --local | grep lsapi
ruby-lsapi (4.0)
# ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
# gem -v
1.8.24
# rails -v
Rails 2.3.14

Litespeed 4.1.12
cPanel 11.32
I would appreciate any help

Thanks

Last edited by tracktor1; 06-06-2012 at 10:58 AM..
Reply With Quote
 

Tags
cpanel, litespeed, redmine, ror, ruby

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 10:08 PM.



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