Project

General

Profile

Ruby Update but Redmine shows old Ruby version

Added by Thomas Frank over 9 years ago

Hello I made an Ruby Update on Version 1.9.3 via apt-get but Redmine Info shows still the old Version

Console ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

Environment:
  Redmine version                2.5.2.stable
  Ruby version                   1.8.7-p352 (2011-06-30) [x86_64-linux]
  Rails version                  3.2.19
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            1.7.9.5
  Filesystem                     
Redmine plugins:
  no plugin installed

Replies (1)

RE: Ruby Update but Redmine shows old Ruby version - Added by Martin Denizet (redmine.org team member) over 9 years ago

Hi Thomas,
In Debian/Ubuntu, there is a package for each version of Ruby (1.8,1.9,2.0). You probably still have the 1.8 package still installed.
You can check it with:

dpkg --get-selections | grep ruby1.8

You have to reconfigure your web server to use 1.9.
You should check and understand how your web server has been configured before considering removing the 1.8 packages.
If you using the Passenger gem (not package), you would have to run passenger-install-apache2-module again to generate a new Apache configuration.

Cheers,

    (1-1/1)