Closed pehrlich2 closed 1 year ago
Hello!
I'm trying to set this up for the first time on my machine, and getting trouble in any app I try and use the gem. Easily repro'd (for me) with the demo instructions (section 7) here: https://github.com/kigster/simple-feed#7-running-the-examples-and-specs
Following those steps, I get:
LoadError: cannot load such file -- redis/connection/hiredis # ./lib/simplefeed/providers/redis/driver.rb:4:in `<top (required)>'
I get the same error with this in my Gemfile:
gem "hiredis", "~> 0.6.0" gem "redis", ">= 3.2.0", require: %w[redis redis/connection/hiredis]
When starting my server:
22:07:01 css.1 | rails aborted! 22:07:01 css.1 | LoadError: cannot load such file -- redis/connection/hiredis 22:07:01 css.1 | <internal:/Users/peterehrlich/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
Have tried a few steps to no effect - such as installing hiredis via homebrew (although I saw in another thread that that's not necessary as the rubygem is self contained). Any tips for troubleshooting this? Thanks!
Specs:
ruby 3.2.2 gem -v --> 3.4.10 bundler --version --> 2.4.10 OSX Ventura 13.1 M2
closing in favor of https://github.com/redis/hiredis-rb/issues/92 and https://github.com/kigster/simple-feed/issues/33
Hello!
I'm trying to set this up for the first time on my machine, and getting trouble in any app I try and use the gem. Easily repro'd (for me) with the demo instructions (section 7) here: https://github.com/kigster/simple-feed#7-running-the-examples-and-specs
Following those steps, I get:
I get the same error with this in my Gemfile:
When starting my server:
Have tried a few steps to no effect - such as installing hiredis via homebrew (although I saw in another thread that that's not necessary as the rubygem is self contained). Any tips for troubleshooting this? Thanks!
Specs: