Project

General

Profile

Cannot get redmine working (Ubuntu 10.04)

Added by Brad Morris over 12 years ago

Hi All,

I am trying to install red mine 2.0.2 on Ubuntu 10.04. I have installed Passenger on Apache2, and copied all the src files to /var/www/redmine. However when I come to access the application I get a Passenger error page with the error: "There was an error in your Gemfile, and Bundler cannot continue. (Bundler::GemfileError)"

I ran sudo bundle install and all the gems appeared to install without a problem, yet I still receive that error.

Stack Trace from Passenger:
0 /var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler/dsl.rb 12 in `evaluate'
1 /var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler/definition.rb 18 in `build'
2 /var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler.rb 135 in `definition'
3 /var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler.rb 123 in `load'
4 /var/lib/gems/1.8/gems/bundler-1.1.4/lib/bundler.rb 107 in `setup'
5 /usr/share/redmine/config/preinitializer.rb 16
6 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
7 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `require'

Any help would be appreciated. I have set up Redmine successfully before on CentOS, but I'm stumped here :(

Cheers


Replies (1)

RE: Cannot get redmine working (Ubuntu 10.04) - Added by Tim Randles over 12 years ago

On my RHEL6.2 box I had the exact same error. Downgrading bundler from 1.1.4 to 1.0.21 fixed it.

gem install bundler -v=1.0.21
gem uninstall bundler -v=1.1.4

HTH,
Tim

    (1-1/1)