continuum / active_importer

Define importers that load tabular data from spreadsheets or CSV files into any ActiveRecord-like ORM.

Home Page:http://continuum.github.io/active_importer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gem required error - google_drive

weavermedia opened this issue · comments

First use gives this error: Using Roo::Google requires the google_drive gem

I can see that the roo gem was installed on bundle but it seems that this dependency was not installed.

Once the gem is installed the import fails and I get the following error:

Fatal error while importing data: undefined method 'spreadsheet_by_key' for nil:NilClass

The first part of the error is from your method that I copied into my app, the second part is the exception thrown.

In my server logs I can see the warning set user and password or access token. A Google search for this exact phrase yields just two results, both related to the Roo gem and Google Drive authentication.

https://github.com/Empact/roo/blob/master/lib/roo/google.rb (jump to the session method at the bottom of the page).

Apologies, I can now see this is a duplicate of #3