wikipedia-client icon indicating copy to clipboard operation
wikipedia-client copied to clipboard

Rubocop version/dependency conflict?

Open ivobenedito opened this issue 3 years ago • 2 comments

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

ivobenedito avatar Oct 27 '21 20:10 ivobenedito

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?

pietromenna avatar Nov 02 '21 01:11 pietromenna

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

ivobenedito avatar Nov 08 '21 15:11 ivobenedito