Project

General

Profile

Cant get redmine to run with lighttpd

Added by Helga Best about 11 years ago

Hello

I am trying the whole day to get lighttpd to run with redmine, but I can not get a solution to that error.

May 14 17:50:04 redmine lighttpd-angel[586]: /usr/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- bundler/setup (LoadError)
May 14 17:50:04 redmine lighttpd-angel[586]: from /usr/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
May 14 17:50:04 redmine lighttpd-angel[586]: from /srv/http/redmine/config/boot.rb:6:in `<top (required)>'
May 14 17:50:04 redmine lighttpd-angel[586]: from /usr/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
May 14 17:50:04 redmine lighttpd-angel[586]: from /usr/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
May 14 17:50:04 redmine lighttpd-angel[586]: from /srv/http/redmine/public/dispatch.fcgi:3:in `<main>'

I searched the web for "cannot load such file -- bundler/setup (LoadError)" and I get some results but none of the solutions helped.
I got all gems installed and the test with "ruby script/rails server webrick -e production" runs, bringing up a working redmine on localhost:3000 however lighttpd keeps crashing.

Here the versions that I have installed

 # cd /srv/http/redmine
 # bundle install
 ...
 Using <various gems>
 Your bundle is complete!
 Gems in the groups development and test were not installed.
 Use `bundle show [gemname]` to see where a bundled gem is installed.
 # ruby --version
 ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
 # gem --version
 2.0.0
 # rake --version
 rake, version 10.0.4
 # bundle --version
 Bundler version 1.3.5

I am running archlinux and that's not the first webserver I set up with arch, however the first attempt with ruby and lighttpd. I can not use unicorn or webrick, because I need SSL for redmine.

I am quite lost now, how can I get the thing running?


Replies (2)

RE: Cant get redmine to run with lighttpd - Added by Jean-Baptiste Barth about 11 years ago

I don't understand how you run your application server. Lighttpd doesn't know how to boot a rails app, maybe you could give us some more details about your setup ?

    (1-2/2)