Closed marvinick closed 2 years ago
Same:
filterrific (5.2.2) rails (7.0.2) ruby (2.7.4p191)
Thank you!
If you fork your own branch it'll work straight away without any changes.
The changes are there in 5.2.2 to allow Rails 7 to run but don't have any impact for some reason when pulled from the main branch?
This is no longer an issue when installing directly from the source:
gem 'filterrific', git: 'https://github.com/jhund/filterrific'
Thanks @GearoidDC
I'm still getting the message This version of Filterrific only works with Rails 5 and 6 after upgrading to Rails 7
filterrific (5.2.2) - Gemfile.lock Rails 7.0.1 Ruby 3.0.0 (works just fine with Rails 6.1.4 and the gem)
/Users/marvin/.rvm/gems/ruby-3.0.0/gems/bundler-2.2.29/lib/bundler/runtime.rb:63:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'filterrific'. (Bundler::GemRequireError) Gem Load Error is:
This version of Filterrific only works with Rails 5 and 6. Please see the Filterrific README for the correct version of Filterrific to use with your version of Rails!
Backtrace for gem load error is: /Users/marvin/.rvm/gems/ruby-3.0.0/gems/filterrific-5.2.2/lib/filterrific.rb:4:in'
/Users/marvin/.rvm/gems/ruby-3.0.0/gems/bootsnap-1.10.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in
<main>' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/bootsnap-1.10.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in
require' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/bootsnap-1.10.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:inrequire' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/bundler-2.2.29/lib/bundler/runtime.rb:60:in
block (2 levels) in require' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/bundler-2.2.29/lib/bundler/runtime.rb:55:ineach' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/bundler-2.2.29/lib/bundler/runtime.rb:55:in
block in require' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/bundler-2.2.29/lib/bundler/runtime.rb:44:ineach' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/bundler-2.2.29/lib/bundler/runtime.rb:44:in
require' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/bundler-2.2.29/lib/bundler.rb:174:inrequire' /Users/marvin/Documents/local/config/application.rb:7:in
require' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/bootsnap-1.10.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in
require' /Users/marvin/.rvm/gems/ruby-3.0.0/gems/railties-7.0.2.2/lib/rails/commands/server/server_command.rb:137:in `block in perform'