This project is archived and is in readonly mode.
Bogus warnings
Reported by Bharat Ruparel | August 28th, 2010 @ 12:07 PM
../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
Comments and changes to this ticket
-
Rohit Arondekar August 28th, 2010 @ 03:11 PM
- 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.
-
Bharat Ruparel August 28th, 2010 @ 04:50 PM
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
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>