1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Embulkでembulk Error: OutputPlugin 'bigquery' is not foundのエラー対処

Posted at

EmbulkでMySQL → BigQueryに転送しているのですが、とある環境で久々に実行してみたらエラーが出ました。

embulk Error: OutputPlugin 'bigquery' is not found

よくよく見てみると以下のエラーでrubyのバージョンがfaradayに対応していないよとのことです。

[91mERROR: Error installing embulk-output-bigquery:
faraday-net_http requires Ruby version >= 2.4.0.[0m[91m

[output-bigquery GitHub Issue](https://github.i.agoralab.co/embulk/embulk-output-bigquery/issues/131)に記載がありました。

今回はDockerにて動作させているので、Dockerファイルに以下を記載し問題解決となりました:grin:

# Embulkをインストール
RUN wget -q https://dl.embulk.org/embulk-latest.jar -O /bin/embulk \
    && chmod +x /bin/embulk

# 今回のerror対応
RUN embulk gem install representable -v 3.0.4
RUN embulk gem install faraday -v 0.17.4

# 使いたいプラグインを入れる
RUN embulk gem install embulk-input-mysql
RUN embulk gem install embulk-output-bigquery
・・・
1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?