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/04/22/deploying-redmine-in-a-cpanel-hosting-environment/
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:ruby_rails
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:rails_hosting
http://www.geekstorage.com/blog/index.php/2010/05/09/setting-up-redmine-aamp-ruby-on-rails-with-litespeed-at-geekstorage
Finally we achieve the installation of Redmine but does not run properly, get this error:
Checking the logs I see:
We have installed ruby-lsapi, restarted the app, restarted LiteSpeed and nothing... always have the same error.
Other info:
I would appreciate any help
Thanks
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/04/22/deploying-redmine-in-a-cpanel-hosting-environment/
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:ruby_rails
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:rails_hosting
http://www.geekstorage.com/blog/index.php/2010/05/09/setting-up-redmine-aamp-ruby-on-rails-with-litespeed-at-geekstorage
Finally we achieve the installation of Redmine but does not run properly, get this error:
Code:
503 Service Unavailable
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
Thanks
Last edited: