Skip to content
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

Solidus v4 compatibility? #114

Open
arman-h opened this issue Jul 4, 2023 · 3 comments
Open

Solidus v4 compatibility? #114

arman-h opened this issue Jul 4, 2023 · 3 comments

Comments

@arman-h
Copy link

arman-h commented Jul 4, 2023

Is this gem compatible with Solidus 4? According to the gemspec, it should be: spec.add_dependency 'solidus_core', '>= 2.0.0', '< 5'. But when trying to install either of the two most recent versions (gem 'solidus_social', '~> 1.5' or gem 'solidus_social', '~> 1.4'), there is an un-resolvable gem conflict:

Could not find compatible versions

Because solidus >= 4.0.1, < 4.1.0 depends on solidus_core = 4.0.1
  and solidus >= 4.0.0, < 4.0.1 depends on solidus_core = 4.0.0,
  solidus >= 4.0.0, < 4.1.0 requires solidus_core = 4.0.0 OR = 4.0.1.
And because solidus >= 4.1.0 depends on solidus_core = 4.1.0
  and solidus_social >= 1.4.0 depends on solidus_core >= 2.0.0, < 4,
  solidus_social >= 1.4.0 is incompatible with solidus >= 4.0.0.
So, because Gemfile depends on solidus ~> 4.0
  and Gemfile depends on solidus_social ~> 1.5,
  version solving has failed.

I was able to install the most current GitHub version using gem 'solidus_social', github: 'solidusio-contrib/solidus_social', but then running rails g solidus_social:install throws an error:

/home/arman/.rvm/gems/ruby-3.1.3/bundler/gems/solidus_social-eb542f305243/app/decorators/controllers/solidus_social/spree/user_registrations_controller_decorator.rb:24:in `<module:UserRegistrationsControllerDecorator>': uninitialized constant Spree::UserRegistrationsController (NameError)

      ::Spree::UserRegistrationsController.prepend self
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Did you mean?  UserSessionsController
               UserConfirmationsController
@Jawad79Ahmad
Copy link

Also I'm getting same error

solidus_social-894abe233421/app/decorators/controllers/solidus_social/spree/user_registrations_controller_decorator.rb:24:in `module:UserRegistrationsControllerDecorator': uninitialized constant Spree::UserRegistrationsController (NameError)
Did you mean? UserSessionsController
UserConfirmationsController

@dtdionne
Copy link

dtdionne commented Feb 16, 2024

Yeah, this error has been around for a while and remains out of the box with totally fresh installs. It's perplexing and at the very least, self-defeating. It halted me from even considering any financial support and caused me to resume evaluations...and that's unfortunate.

@dtdionne
Copy link

dtdionne commented Feb 17, 2024

Yeah, sooooo uhhhh, my bad I think...this works fine with the depreciated frontend, at least it installs.

If that too suddenly quits working in the next 6 months we know the solidus folks are dishonest dirtbags trying to leverage "open source" for any other reason than its intent.

That may be a little harsh, forgive me but my guess is that the hosted solidus has all this stuff, but i dont know that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants