drivesync icon indicating copy to clipboard operation
drivesync copied to clipboard

First time use error...

Open stevenjstromer opened this issue 5 years ago • 4 comments

Installed drivesync on osx, after installing Ruby 2.6.x using homebrew. I understand that I need to create the config.yml file by running drivesync.rb, but when I do, I get the following. Any possible guidance? Thanks!

ruby drivesync.rb
Traceback (most recent call last):
	4: from drivesync.rb:1:in `<main>'
	3: from drivesync.rb:1:in `require_relative'
	2: from /Users/sstromer/Applications/GitHub/drivesync/src/synchronizer.rb:1:in `<top (required)>'
	1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- google/apis/drive_v3 (LoadError)

stevenjstromer avatar Jan 14 '20 18:01 stevenjstromer

Ruby can't find the Google Drive API. Did you run bundle install before starting drivesync?

MStadlmeier avatar Jan 19 '20 15:01 MStadlmeier

I ran the following, before getting the error: bundle install --path vendor/bundle

I assume this was incorrect, and that's why it isn't locating the api. Possible to steer me in the correct direction?

stevenjstromer avatar Jan 21 '20 22:01 stevenjstromer

Still hoping I can get some pro guidance on this. Did I install the bundle to the wrong location? Thanks for any assist.

stevenjstromer avatar Feb 04 '20 00:02 stevenjstromer

Are you getting the same problem when you just run bundle install without any arguments?

MStadlmeier avatar Feb 04 '20 09:02 MStadlmeier