jx
03/09/2026, 2:51 PM$rails new my_project
$bundle add solidus
$bin/rails g solidus:install
~/.local/share/gem/ruby/gems/bundler-4.0.7/lib/bundler/runtime.rb:71:in 'block (2 levels) in Bundler::Runtime#require': There was an error while trying to load the gem 'solidus'. (Bundler::GemRequireError)
Gem Load Error is: Could not open library '/home/idk/.local/share/gem/ruby/gems/sassc-2.4.0/ext/libsass.so': /home/idk/.local/share/gem/ruby/gems/sassc-2.4.0/ext/libsass.so: cannot open shared object file: No such file or directory.
I have tried changing Rails versions and installing libsass and its dev package to my machine and refreshing the sassc gem.
The error happens on bin/rails g solidus:install.Jared Norman
jx
03/10/2026, 4:34 AMsolidus is in the bundle and stop once I remove the gemJared Norman
kennyadsl
bash
gem pristine sassc
If that fails, make sure you have the build dependencies installed first:
bash
# Debian/Ubuntu
sudo apt install build-essential
# then retry
gem pristine sassc
After that, re-run the Solidus installer.