Posted in lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require': cannot load such file -- sass
Hello GoRail Fam'
After trying to update an old Rails app, including Ruby, i got an error when i tried to launch a server, launch a rails update app and much more commands.
/Users/basile/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require': cannot load such file -- sass (LoadError)
I was on Ruby 2.6, trying to update to 3.1.
I also tried to update from 2.6 to 2.7, but still got the error.
I even tried many suggestion saw on StackOverflow or ether but still stuck.
I post a longer message on SO. with more details.
It seems to be a gem issue but i'm completely lost.
Any help would be much appreciated
I’m stuck with Gem Ahoy.
In my rails app, i have a Room model, each Room has many subject.
After installing Ahoy, i succeed to display the Ahoy::Event result (=number of views) for each subject, but i’m stuck to display the last 5 most viewed subject in my Room dashboard (subject with most Ahoy::Event id).
I'm able to display for one specific subject
<%= Ahoy::Event.where_props(subject_id: 121).count %>
but stuck for order all subject of a Room by Ahoy::Event result (most viewed)
I tried many stuff but nothing working.
Any Idea ?
Thanks so much !