Project

General

Profile

Problem installing Redmine on CentOS 5 - error at generate session store

Added by Archie Henderson about 13 years ago

Following "HowRo install Redmine on CentOS5. No Errors until I get to step "generate session store"

RAILS_ENV=production bundle exec rake generate_session_store

/usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/shared_helpers.rb:2:in `require': no such file to load -- rubygems (LoadError)
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/shared_helpers.rb:2
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/setup.rb:1:in `require'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/setup.rb:1

Unsure what to do next.


Replies (5)

RE: Problem installing Redmine on CentOS 5 - error at generate session store - Added by Archie Henderson about 13 years ago

fyi
ruby version 1.8.7
gem version 1.3.7
file "shared_helpers.rb:2" does not exist on the server
any suggestions on how to resolve this?

RE: Problem installing Redmine on CentOS 5 - error at generate session store - Added by Archie Henderson about 13 years ago

Ok - updated gems to 1.5.2 which caused me to update rake, RedCloth, coderay, json_pure, rubyforge and hoe.

New error message
"Could not find hoe-1.9.0 in any of the sources"
but "bundle show hoe" gives /usr/lib/ruby/gems/1.8/gems/hoe-1.9.0

making progress - suggestions?

RE: Problem installing Redmine on CentOS 5 - error at generate session store - Added by Felix Schäfer about 13 years ago

IIRC Redmine stable isn't compatible with rubygems 1.5, and I don't think there's a bundle for it yet either.

RE: Problem installing Redmine on CentOS 5 - error at generate session store - Added by Archie Henderson about 13 years ago

Downgraded to rubygems 1.4.1 - now it hangs at command 'RAILS_ENV=production bundle exec rake db:migrate'
Error: Rake aborted
undefined local variable or method 'generate_session_store' for main:Object

any suggestions?

RE: Problem installing Redmine on CentOS 5 - error at generate session store - Added by Dmitriy Matison about 12 years ago

Hi, is there any update on the issue?

We are trying the new Redmine with rubygems 1.8 and it is said that Redmine already supports it. But we get exactly the same error.

Maybe one who uses Redmine on CentOS 5 or RHEL 5 would share the versions of modules for a working bundle?

Thanks,
Dmitriy.

    (1-5/5)