Shimu
Shimu

Reputation: 1147

Tool google-api from google-api-client not working

I want to make a short tool that has to have access to my Google Calendar. Therefore I have to use the google-api-client gem. When I take a look to the gems installed I see it.
Before I can use the classes and methods made available with this, I have to create a YAML file with my clientID and clientSecret and a few other things. Therefore, the gem should have a cli tool called "google-api". If I now want to create this file, I always get the message google-api: command not found.
I use rvm if this is important. But I've checked if I have the right gemset availible.
(Everything I have to do, I found here: https://developers.google.com/google-apps/calendar/instantiate?hl=de)

Upvotes: 1

Views: 875

Answers (1)

Emily
Emily

Reputation: 76

I have got the same problems. What version did you installed google-api-client gem ? I think you may have installed latest version. It removed the bin file from version 0.7.0.(see here: https://github.com/google/google-api-ruby-client/blob/master/CHANGELOG.md#070) If you need the command, reinstall with this command :"gem uninstall google-api-client; gem install google-api-client -v 0.6.4".

Upvotes: 6

Related Questions