Error when installing google-api-client gem on Mac OSX
when I use bundler I got this error :
An error occurred while installing google-api-client (0.9.3), and Bundler cannot continue.
Make sure that `gem install google-api-client -v '0.9.3'` succeeds before bundling.
And I try to install it manually as It's said in the error :
ERROR: Error installing google-api-client:
invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass
Really appreciate for all feedback..
Cheers,
What versions of ruby and bundler are you using?
Thanks for your feedback..
I'm using Ruby 2.2.3 and Bundler version 1.11.2..
But I think It's not about Bundler stuff which failing, But on the way installing google-api-client gem..
It's still failing on my machine, is there anything that I can do to fix this issue anyway?
From a quick search it looks like deleting the gem from your local cache and re-installing might fix the issue. I don't know what would have caused the corruption in the first place, but give it a shot.
Ah I got it.. seems to be working when I delete all caches in local directory.. Just wondering about corruption possibility in gem dependency related with google-api-client..
Thanks for your feedback.. really appreciate it!