embulk-input-bigquery icon indicating copy to clipboard operation
embulk-input-bigquery copied to clipboard

Embulk gem install fail: google-cloud-errors requires Ruby version >= 2.4.

Open rishabh1212 opened this issue 5 years ago • 2 comments

embulk-input-bigquery installation failed in Java8 docker container

root@86e6ee0632d7:/# embulk gem install embulk-input-bigquery
2020-01-16 05:59:53.576 +0000: Embulk v0.9.23

Gem plugin path is: /root/.embulk/lib/gems

Fetching: jwt-2.2.1.gem (100%)
Successfully installed jwt-2.2.1
Fetching: multi_json-1.14.1.gem (100%)
Successfully installed multi_json-1.14.1
Fetching: multipart-post-2.1.1.gem (100%)
Successfully installed multipart-post-2.1.1
Fetching: faraday-0.17.3.gem (100%)
Successfully installed faraday-0.17.3
Fetching: public_suffix-4.0.3.gem (100%)
Successfully installed public_suffix-4.0.3
Fetching: addressable-2.7.0.gem (100%)
Successfully installed addressable-2.7.0
Fetching: signet-0.11.0.gem (100%)
Successfully installed signet-0.11.0
Fetching: declarative-option-0.1.0.gem (100%)
Successfully installed declarative-option-0.1.0
Fetching: declarative-0.0.10.gem (100%)
Successfully installed declarative-0.0.10
Fetching: uber-0.1.0.gem (100%)
Successfully installed uber-0.1.0
Fetching: representable-3.0.4.gem (100%)
Successfully installed representable-3.0.4
Fetching: retriable-3.1.2.gem (100%)
Successfully installed retriable-3.1.2
Fetching: mini_mime-1.0.2.gem (100%)
Successfully installed mini_mime-1.0.2
Fetching: memoist-0.16.2.gem (100%)
Successfully installed memoist-0.16.2
Fetching: os-1.0.1.gem (100%)
Successfully installed os-1.0.1
Fetching: googleauth-0.9.0.gem (100%)
Successfully installed googleauth-0.9.0
Fetching: httpclient-2.8.3.gem (100%)
Successfully installed httpclient-2.8.3
Fetching: google-api-client-0.32.1.gem (100%)
Successfully installed google-api-client-0.32.1
Fetching: google-cloud-env-1.2.1.gem (100%)
Successfully installed google-cloud-env-1.2.1
Fetching: google-cloud-errors-1.0.0.gem (100%)
ERROR:  Error installing embulk-input-bigquery:
	google-cloud-errors requires Ruby version >= 2.4.

Steps to recreate

  1. Use docker container java:8 docker pull java:8 && docker run -it java:8 /bin/bash
  2. Run Installation step curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar" chmod +x ~/.embulk/bin/embulk && echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc && . ~/.bashrc ~/.embulk/bin/embulk gem install embulk-input-bigquery

rishabh1212 avatar Jan 17 '20 08:01 rishabh1212