15699: Remove unused variables.
[arvados.git] / sdk / ruby / lib / arvados / google_api_client.rb
index 93d27e649fb22a47ba32ce7f75f8890967c9ad2e..69383d12f63f22ded7957c25fd012d7530763ae4 100644 (file)
@@ -3,6 +3,11 @@
 # SPDX-License-Identifier: Apache-2.0
 
 require 'google/api_client'
+# Monkeypatch google-api-client gem to avoid sending newline characters
+# on headers to make ruby-2.3.7+ happy.
+# See: https://dev.arvados.org/issues/13920
+Google::APIClient::ENV::OS_VERSION.strip!
+
 require 'json'
 require 'tempfile'