Project

General

Profile

Passenger exception after upgrade to 2.3.1

Added by Pierre-Antoine Queloz almost 11 years ago

Hello,

I have an Ubuntu 12.04 server (Passenger / Apache) running fine with the following

Environment:
Redmine version 2.1.2.stable
Ruby version 1.8.7 (i686-linux)
Rails version 3.2.8
Environment production
Database adapter MySQL
Redmine plugins:
no plugin installed

I followed all the steps to upgrade Redmine to 2.3.1.

When I start my server, I get the exception

Could not find nokogiri-1.6.0 in any of the sources (Bundler::GemNotFound)

According to the the stacktrace, it's still using Ruby 1.8 environment, although I upgraded to Ruby 2.0.0.

How can I troubleshoot this?

Some additional info

  • I could not use RVM, the command "rvm install 2.0.0" would remove RVM itself from Ubuntu
  • Installing nokogiri caused me a lot of trouble, until I did "gem install bundler" on my server
  • Finally I could run "rake generate_secret_token" without any errors
  • I already tried to add gem nokogiri in redmine/Gemfile, it didn't help

Thank you for your advice,

Pierre-Antoine

Capture1.PNG (125 KB) Capture1.PNG Passenger error message
Capture2.PNG (141 KB) Capture2.PNG Backtrace