Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Bogus warnings

#5483

../home/bruparel/.rvm/gems/ruby-1.9.2-head/gems/right_aws-2.0.0/lib/awsbase/support.rb:47: warning: toplevel constant ClientStatus referenced by
Client::ClientStatus
/home/bruparel/.rvm/gems/ruby-1.9.2-head/gems/right_aws-2.0.0/lib/awsbase/support.rb:47: warning: toplevel constant Client referenced by ClientComment::Client
/home/bruparel/.rvm/gems/ruby-1.9.2-head/gems/right_aws-2.0.0/lib/awsbase/support.rb:47: warning: toplevel constant Role referenced by User::Role
/home/bruparel/.rvm/gems/ruby-1.9.2-head/gems/right_aws-2.0.0/lib/awsbase/support.rb:47: warning: toplevel constant User referenced by ClientComment::User
..../home/bruparel/.rvm/gems/ruby-1.9.2-head/gems/right_aws-2.0.0/lib/awsbase/support.rb:47: warning: toplevel constant Client referenced by ClientPerm::Client
/home/bruparel/.rvm/gems/ruby-1.9.2-head/gems/right_aws-2.0.0/lib/awsbase/support.rb:47: warning: toplevel constant User referenced by ClientPerm::User
...../home/bruparel/.rvm/gems/ruby-1.9.2-head/gems/right_aws-2.0.0/lib/awsbase/support.rb:47: warning: toplevel constant Client referenced by ClientStatus::Client
..../home/bruparel/.rvm/gems/ruby-1.9.2-head/gems/right_aws-2.0.0/lib/awsbase/support.rb:47: warning: toplevel constant ClientComment referenced by
Client::ClientComment

I am not sure why Rails is giving me these warnings when I run
rake test:units
The tests do pass though.

Bharat Ruparel

Reported by Bharat Ruparel · August 28th, 2010 @ 12:07 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to invalid
    • Importance changed from to Low

    This is a warning that is generated from the right_aws gem. Note the following:

    ../home/bruparel/.rvm/gems/ruby-1.9.2-head/gems/right_aws-2.0.0/lib/awsbase/support.rb:47: warning: toplevel constant ClientStatus referenced by
    Client::ClientStatus
    

    You should report it as an issue on the gems issue tracker. Although it's most likely harmless.

    Note that you are using 1.9.2-head, hence all kinds of warnings are enabled. So you might see more warnings then a stable release might show. But still I'd recommend that you report it to the right_aws gems issue tracker.

    August 28th, 2010 @ 03:11 PM

  2. Bharat Ruparel
    Bharat Ruparel

    OK Rohit, I will report it at the right_aws gems tracker. You also mentioned that 1.9.2-head causes more warnings to show. Does it mean that if I go to newly released 1.9.2, I may not see all these warnings? Thus far, I was attributing this more to Rails than Ruby. Please advise.
    Thanks.
    Bharat

    August 28th, 2010 @ 04:50 PM