embulk / embulk-input-jdbc

MySQL, PostgreSQL, Redshift and generic JDBC input plugins for Embulk
Other
102 stars 74 forks source link

Unable to gem install a specific version of embulk-input-mysql. (>= 0.11.0) #252

Closed fl-bunya closed 1 year ago

fl-bunya commented 1 year ago

SUMMARY

I am currently unable to install a specific version of embulk-input-mysql (>= 0.11.0). Last year in July, I was able to install version 0.13.0 using gem install embulk-input-mysql:0.13.0

Can anyone fix this issue?

Attempts and Results

Confirmed

https://rubygems.org/


- Available versions for installation

gem list embulk-input-mysql -rea

REMOTE GEMS

embulk-input-mysql (0.13.2 java 0.13.1-java 0.13.0-java 0.12.4 java 0.12.3 java 0.12.2 java 0.12.1 java 0.12.0 java 0.11.1 java 0.11.0 java 0.10.1 0.10.0 0.9.3 0.9.2 ...


- Downloadable gem
https://api.rubygems.org/gems/embulk-input-mysql-0.13.0-java.gem
https://api.rubygems.org/gems/embulk-input-mysql-0.10.0.gem

## Potential workaround
NOTE: I haven't tried this workaround yet.
Download the specific gem file and then install local gem file.

gem install --local embulk-input-mysql-0.13.0-java

hiroyuki-sato commented 1 year ago

Hello, @fl-bunya

Your error may relate to the following.

How to fix the error

Plan1 Use v0.11

The latest stable release v0.11 had been released on 2023-06-13. Please read and try it. Embulk v0.11 is coming soon.

Plan v0.9

Create a Gemfile like the one below and execute embulk bundle in that directory. This is almost the same as your Potential workaround. gem install --local embulk-input-mysql-0.13.0-java

source 'https://rubygems.org'

gem "embulk-input-mysql", "= 0.13.2"

Reference

fl-bunya commented 1 year ago

Hello, @hiroyuki-sato -san

Thank you for your polite and prompt reply. It works.

echo "source 'https://rubygems.org'\n\ngem 'embulk-input-mysql', '= 0.13.2'" > Gemfile && embulk bundle install

ありがとうございました!