Project

General

Profile

Actions

Defect #14511

closed

warning: class variable access from toplevel on Ruby 2.0

Added by Pascal H over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Ruby support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

At each start this error message appears in httpd error_log:

/path/to/redmine/lib/SVG/Graph/Graph.rb:3: warning: class variable access from toplevel

Version information:

Environment:
  Redmine version                2.3.2.stable
  Ruby version                   2.0.0-p247 (2013-06-27) [x86_64-linux]
  Rails version                  3.2.13
  Environment                    production
  Database adapter               Mysql2
Redmine plugins:
  no plugin installed

[root@localhost ~]# httpd -v
Server version: Apache/2.4.4 (Fedora)
Server built:   May 20 2013 09:27:20
[root@localhost ~]# passenger -v
Phusion Passenger version 4.0.10
Actions #1

Updated by Toshi MARUYAMA over 10 years ago

  • Subject changed from class variable access from toplevel to warning: class variable access from toplevel on Ruby 2.0
  • Category set to Ruby support
Actions #2

Updated by Rhiino Rex over 10 years ago

I got the same warning.
Is it safe to ignore?

Actions #3

Updated by Etienne Massip over 10 years ago

Rhiino Rex wrote:

I got the same warning.
Is it safe to ignore?

Yes it is.

Actions #4

Updated by Jean-Philippe Lang over 10 years ago

  • Status changed from New to Closed
  • Target version set to 2.3.3
  • Resolution set to Fixed

Fixed in r12052.

Actions

Also available in: Atom PDF