alexreisner/geocoder

Apparent conflict with Geocoder when installing official Google API wrapper

Opened this issue · 2 comments

Expected behavior

Running Geocoder.search('Texas State Capitol') returns the expected result

Actual behavior

Running Geocoder.search('Texas State Capitol') returns NoMethodError (undefined method 'new' for Google:Module)

Steps to reproduce

Run gem install google-apis-youtube_v3

Environment info

  • Geocoder version: 1.8.0
  • Rails version: 6.0.2
  • Database (if applicable):
  • Lookup (if applicable): Google

Thanks for reporting this! This issue may have been fixed in version 1.8.1 (specifically by #1588). Can you try upgrading and see if that fixes it?

b-nik commented

Still an issue on 1.8.1. What's strange is running it a second time right after will work.