Project

General

Profile

Ruby 1.9.3 stopped working because current timezone data cannot be loaded any longer / incompatibility with nokogiri

Added by Peter Herre almost 6 years ago

Hi there,

we have a rather old Ruby version 1.9.3 running in order to support Redmine 2.4.1.

Unfortunately, the presently available timezone data cannot be loaded with this old Ruby version. The ruby-gems need to be updated in order to support the timezone data. And this requires loading of the gem nokogiri which does not compile with Ruby 1.9.3.

For us, it is not important whether we use correct timezone data. We only access Redmine from the same static timezone. Is there any workaround suggested just to pass the issue with the loading failure of the timezone data in Ruby 1.9.3?

Thank you very much.

Best regards,
Peter

P.S.: As an alternative, we upgraded to Ruby 2.3.5 which compiles with nokogiri, timezone data loading is fine, but this version is not compatible with Redmine 2.4.1. We needed to upgrade to Redmine 2.4.2, but with this our Redmine system is broken, as we use several plugins, redmine_helpdesk. So we wonder what way would be more promising: Getting rid of the timezone data and stay at Ruby 1.9.3 or adapt the system to Redmine 2.4.2. Does anyone have experience which approach would be more promising? For us, it is not important to upgrade the system to a new version.


Replies (4)

RE: Ruby 1.9.3 stopped working because current timezone data cannot be loaded any longer / incompatibility with nokogiri - Added by Peter Herre almost 6 years ago

Dear Martin,

our regular timezone is UTC+1. Over the summer, the daylight saving time causes UTC+2.

Best regards,
Peter

RE: Ruby 1.9.3 stopped working because current timezone data cannot be loaded any longer / incompatibility with nokogiri - Added by Martin Denizet (redmine.org team member) almost 6 years ago

You wrote that you were using Redmine 2.4.1 but I assume this is a typo and you meant 3.4.1

I tested with Redmine 3.4.5 using Ruby 2.3.6 and on another Redmine 3.3.x with Ruby 2.3.x .

On both I set my timezone to Paris GMT+01 which is +01 CET for winter and +02 for summer CEST
On both times display GMT+2 as expected.

If I understand correctly on your install time displays GMT+1 instead of GMT+2?

Official wiki states that Redmine 3.4.x IS compatible with Ruby 2.3.x
  • What kind of log entry do you get when trying to start Redmine 3.4.x with Ruby 2.3.x?
  • In which country are you?
  • Could your system's clock be at fault?
  • In the Linux terminal, what do you get when you type:
    time
    

Cheers,

RE: Ruby 1.9.3 stopped working because current timezone data cannot be loaded any longer / incompatibility with nokogiri - Added by Peter Herre about 5 years ago

Dear Martin,

have a happy New Year! I did not receive a notification onto your last reply in contrast to your first so that I was not aware about your post. Thank you very much for your efforts.

Indeed, we used a very old Redmine version. So Redmine version 2.4.1 is not a typo.

Best regards,
Peter

    (1-4/4)