Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

candy_check gem ruby 3+ `require': cannot load such file — google/api_client (LoadError)

I am using Ruby 3.0.1. I am trying to verify Google play store subscription.
I am facing the below error:

`require’: cannot load such file — google/api_client (LoadError)

I tried many solutions but did not get good luck solutions.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Yes, the same issue I faced while Play store receipt verification earlier.
Here is a solution:

  • Uninstall all previous versions of gem 'candy_check' from your system.

  • Uninstall gem 'google-api-client' installed versions

  • Add gem in your Gemfile like below

    gem 'candy_check', git: 'https://github.com/Badiapp/candy_check', branch: 'upgrade/google-api-client'

  • Remove Gemfile.lock and install bundle: bundle install.

The same issue is mentioned in gem’s raised issues here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading