hey all, i don’t have a full explanation of the is...
# general
b
hey all, i don’t have a full explanation of the issue, but i just bumped
solidus_api
,
solidus_backend
, and
solidus_core
from 4.3 to 4.4 in an application that also uses solidus extensions that require
solidus_support
. i ended up with an application that was fully unable to boot because something in the boot process was modifying rails’s
autoload_paths
after they had been frozen. bumping to
solidus_support
0.10.3 resolved the issue, but there was nothing in my dependency graph suggesting i needed to make this change, and the backtrace was incredibly unhelpful. sooo…. if your app is just spamming a
FrozenError
and you can’t figure out why, i recommend attempting a
bundle update solidus_support
if it’s already in your Gemfile.lock 👍
Copy code
Failure/Error: require File.expand_path("../config/environment", __dir__)

FrozenError:
  can't modify frozen Array: ["/Users/haha/application/vendor/bundle/ruby/3.3.0/gems/actiontext-7.1.3.2/app/helpers", "/Users/haha/application/vendor/bundle/ruby/3.3.0/gems/actiontext-7.1.3.2/app/models"]
m
I've been quietly working on something that really improves the way we patch. No README yet, but you can already check the code: https://github.com/friendlycart/flickwerk