kenpratt / wikipedia-client

Ruby client for the Wikipedia API
http://github.com/kenpratt/wikipedia-client
MIT License
307 stars 76 forks source link

Rubocop version/dependency conflict? #109

Open ivobenedito opened 3 years ago

ivobenedito commented 3 years ago

Hi,

https://github.com/kenpratt/wikipedia-client/blob/master/Gemfile#L8

I'm installing this gem on a Rails 6 project with the rubocop-shopify gem. This gem seems to be conflicting with the shopify-rubocop gem, but can't understand exactly what may be causing this since you only have it defined on the Gemfile and not on the gemspec.

Anyone else bumped into this? I'm getting a segmentation fault when trying to run bundle exec rails c or anytime I have to load the rails env locally. If I remove the rubocop-shopify gem it just works.

Any ideas? Thanks!

Screenshot 2021-10-27 at 21 38 34
[BUG] Segmentation fault at 0x0000000000000028
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin20]
gem 'rubocop', '= 0.48.1' # wikipedia-client gem dependency
rubocop (~> 1.22) # my rails 6 project dependency
pietromenna commented 3 years ago

I just created a new PR https://github.com/kenpratt/wikipedia-client/pull/110 that should help on this. @ivobenedito could you help me testing if this fixes?

ivobenedito commented 3 years ago

hey @pietromenna, sure I can, thx! I'll test it and will let you know