google-drive-ruby
google-drive-ruby copied to clipboard
Wrong number of arguments error/crash for download_to_file()
There is a proposed (and verified working) fix in https://github.com/gimite/google-drive-ruby/pull/406/files/cf1ba661bc1153ae89667e4f4d138207df343584
Please merge. Thank you.
Here's a workaround in the meantime:
File.open(local_path, 'wb') do |new_file|
file.download_to_io(new_file)
end
Working 2025-07-08 with:
google_drive (3.0.7)
google-apis-drive_v3 (>= 0.5.0, < 1.0.0)
google-apis-sheets_v4 (>= 0.4.0, < 1.0.0)
googleauth (>= 0.5.0, < 1.0.0)
nokogiri (>= 1.5.3, < 2.0.0)