
06-05-2012, 10:15 AM
|
|
Member
|
|
Join Date: May 2012
Posts: 10
|
|
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..
|