[ 
https://issues.apache.org/jira/browse/THRIFT-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727911#comment-13727911
 ] 

Simon Hoejberg commented on THRIFT-2036:
----------------------------------------

Yea this generates a lot of noise in our logs. Would love to see it fixed
                
> Thrift gem warns about class variable access from top level
> -----------------------------------------------------------
>
>                 Key: THRIFT-2036
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2036
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>    Affects Versions: 0.9
>         Environment: Mac OS X and Linux on x86_64 with ruby 2.0.0-p195
>            Reporter: Jim Lim
>            Priority: Minor
>              Labels: ruby
>
> Steps:
> 1. Generate thrift client and server from thrift definition file.
> 2. Require thrift client or server in a ruby script.
> The following warning is printed:
> 2.0.0-p195/lib/ruby/gems/2.0.0/gems/thrift-0.9.0/lib/thrift/protocol/json_protocol.rb:21:
>  warning: class variable access from toplevel
> Here is a patch from the Evernote SDK: 
> https://github.com/evernote/evernote-sdk-ruby/pull/12

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to