Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings when running rake test #131

Open
chrisvel opened this issue Feb 20, 2017 · 0 comments
Open

Warnings when running rake test #131

chrisvel opened this issue Feb 20, 2017 · 0 comments

Comments

@chrisvel
Copy link

chrisvel commented Feb 20, 2017

I am using Apache CouchDB 1.6.1 and while trying to rake test, all of my tests pass but I have some warnings at the top:

/usr/local/lib/ruby/gems/2.3/gems/couchrest-2.0.0/lib/couchrest/connection.rb:119: warning: instance variable @http not initialized
/usr/local/lib/ruby/gems/2.3/gems/couchrest-2.0.0/lib/couchrest/database.rb:194: warning: assigned but unused variable - ids
/usr/local/lib/ruby/gems/2.3/gems/couchrest-2.0.0/lib/couchrest/document.rb:25: warning: method redefined; discarding old database
/usr/local/lib/ruby/gems/2.3/gems/couchrest-2.0.0/lib/couchrest/support/inheritable_attributes.rb:55: warning: previous definition of database was here
/usr/local/lib/ruby/gems/2.3/gems/couchrest-2.0.0/lib/couchrest/document.rb:25: warning: method redefined; discarding old database=
/usr/local/lib/ruby/gems/2.3/gems/couchrest-2.0.0/lib/couchrest/support/inheritable_attributes.rb:85: warning: previous definition of database= was here
/usr/local/lib/ruby/gems/2.3/gems/couchrest-2.0.0/lib/couchrest/document.rb:90: warning: method redefined; discarding old database

I currently suppress them by adding $VERBOSE=nil to my test_helper.rb file but this is not an actual solution.

Please keep in mind that I have and use a list of other gems too but they're the only warnings I get when running "rake test". Any ideas where the issue might be ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant