MStadlmeier / drivesync

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

Drivesync stopped working : "cannot load such file -- google/apis/drive_v3 (LoadError)" #48

Open Tromzy opened 3 years ago

Tromzy commented 3 years ago

Hi,

I use drivesync on two different machines, both running Archlinux, and recently they both got this error when launching ruby drivesync.rb (both used to work perfectly fine before) :

ruby drivesync/drivesync.rb  ✔  14:46:34  <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in require': cannot load such file -- google/apis/drive_v3 (LoadError) from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:inrequire' from /home/tromzy/drivesync/src/synchronizer.rb:1:in <top (required)>' from drivesync/drivesync.rb:1:inrequire_relative' from drivesync/drivesync.rb:1:in `

'

What should I do ?

Tromzy commented 3 years ago

I found the solution, I had to downgrade ruby and rubygems to previous versions (ruby 3.0 -> 2.7 and rubygems 3.2.15 -> 3.2.13).