MStadlmeier / drivesync

Google Drive synchronization for Linux
MIT License
197 stars 26 forks source link

First time use error... #31

Open stevenjstromer opened 4 years ago

stevenjstromer commented 4 years ago

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)
MStadlmeier commented 4 years ago

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

stevenjstromer commented 4 years ago

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 commented 4 years ago

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

MStadlmeier commented 4 years ago

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