-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The sprockets version requirement doesn't really lock to v3 #3452
Comments
You are right @elia, we should change that. I think a new release is not needed here since the Gemfile is used in Solidus development only and will not be useful to compute dependencies in apps that are using Solidus.
Interesting, that's the reason why I'd say we could add it to backend only since I don't know of any store that is using the Solidus frontend without the backend as well. Thoughts? At this point, changing the |
Thinking twice, I think we are supporting Spockets 4 when Solidus is mounted on a Rails application since it should have the assets configuration manifest in place, as Sprockets 4 expects. What we are not having, is only the support for the Dummy app that we use in our test suite, since there's no way to set a custom path for that file, see rails/sprockets-rails#446. Which issue are you having exactly @elia? Cause if sprockets were not locked to v3 and we were using v4, I can't figure out how specs are passing in this period... |
Thanks for looking into this @kennyadsl, I actually misinterpreted the problem solved by the restriction on the sprockets version within Solidus, I though it wasn't compatible at all with Sprockets 4. As of the I would add that might make sense to add sprockets-rails as a backend/frontend dependency, but it's also a reasonable expectation that anyone not using the default rails stack also know what they're doinig. |
Sprockets requires version
~> 3
in the main Gemfile wich is actually the same as>= 3
, the inteded requirement would be~> 3.0
.I also didn't see sprockets among dependencies of either
solidus_fronted
orsolidus_backend
, both of them are actually using it and look like they should explicitly depend on it, but maybe there's a good reason not to do it.Linked issues: #3374, #618, #3378, #3373
Solidus Version:
All supported versions should update the dependency until Sprockets 4 is properly supported
The text was updated successfully, but these errors were encountered: