Closed danhunter closed 12 years ago
I've prevented the error by re-ordering my Gemfile. Youtube_it is required to be added before the Instagram gem.. ?!
maybe when you loaded instragram later overwrite some methods and works oks, I dont pretty sure but thanks for the advice
I got the same error and re-ordering of Gemfile resolved the error but I am getting a warning as below /.rvm/gems/ruby-1.9.3-p327@appmanager/gems/faraday_middleware-0.9.0/lib/faraday_middleware/request/oauth2.rb:62: warning: already initialized constant OAuth2 How can I get rid of this?
https://github.com/Instagram/instagram-ruby-gem/pull/53 This fixes the warning and conflict i.e no need to re-order Gemfile.
I'm running the Instagram gem alongside the youtube_it gem so I can connect to both social networks.. Not sure if this is an issue with the Instagram gem or the youtube_it gem but..
It seems like they are suffering from conflicting Faraday middleware? I get the following output:
..when I try and run any Instagram request.
Using ruby 1.9.3-p125 and rails 3.2.8. The project also uses the Twitter gem (which also uses Faraday) but there are no conflicts with that.
Also posted here: https://github.com/Instagram/instagram-ruby-gem/issues/48