Project

General

Profile

Redmine environment...

Added by Ric Turley almost 13 years ago

I discovered my server is still running Ruby 1.8.6 after encountering email notification issues with a Redmine upgrade. I installed RVM and 1.8.7, used it and restarted the Redmine instances, but the issues remain. How can I confirm Redmine is now running in Ruby 1.8.7?


Replies (2)

RE: Redmine environment... - Added by Jason Bell almost 13 years ago

go to your redmine installation, and run:

RAILS_ENV=production script/about

this will print out installation details. Replace "production" with whatever name you configured in your database.yml

RE: Redmine environment... - Added by Jason Bell almost 13 years ago

Here's an example from my install. The ruby version is the second line in the output:

/opt/redmine# RAILS_ENV=production script/about
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /opt/redmine
Environment production
Database adapter mysql
Database schema version 20101114115359

    (1-2/2)