benjaminwil
11/30/2024, 1:43 AMsolidus_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 👍
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"]mamhoff
11/30/2024, 7:40 PM