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

Unable to install alchemy in spree (3.4.4) project #1417

Closed
amitbishtZT opened this issue May 2, 2018 · 7 comments
Closed

Unable to install alchemy in spree (3.4.4) project #1417

amitbishtZT opened this issue May 2, 2018 · 7 comments

Comments

@amitbishtZT
Copy link

Hi,
I am unable to install alchemy (4.0-stable) in existing spree (3.4.4) with rails (5.1.6) solution.
getting below error-

Bundler could not find compatible versions for gem "cancancan":
In snapshot (Gemfile.lock):
cancancan (= 2.2.0)

In Gemfile:
alchemy_cms was resolved to 4.0.1, which depends on
cancancan (~> 1.9)

spree (~> 3.4.4) was resolved to 3.4.5, which depends on
  spree_core (= 3.4.5) was resolved to 3.4.5, which depends on
    cancancan (~> 2.0)
@tvdeyen
Copy link
Member

tvdeyen commented May 2, 2018

Alchemy 4.0 only supports CanCanCan (the authorization gem in use) 1.x, while Spree 3.4 only supports v2.x. We should be able to also support v2 in Alchemy 4.0.

@tvdeyen
Copy link
Member

tvdeyen commented May 2, 2018

@amitbishtZT this should now be fixed.

@amitbishtZT
Copy link
Author

Hi , thanks .
I also fixed this particular issue but found that there were many other gems not in sync with spree's gems. Which are still not allowing me to install alchemy.

@tvdeyen
Copy link
Member

tvdeyen commented May 2, 2018

@amitbishtZT could you provide some more information? Which gems could not be resolved as well?

@amitbishtZT
Copy link
Author

amitbishtZT commented May 2, 2018

jquery-ui-rails needs to be 6.0.1
kaminari needs to be 1.0.1

@tvdeyen
Copy link
Member

tvdeyen commented May 2, 2018

@amitbishtZT

kaminari needs to be 1.0.1

This should be fixed easily, because Kaminari 1.0 did not make any changes that affect us.

jquery-ui-rails needs to be 6.0.1

This one is harder, because the changes made to jquery-ui-rails 6.0 are breaking 5.0 installs.

We plan to remove the jQuery UI dependency completely (see #1376), but this will not happen in a already published stable release (like 4.0-stable) but in an future release.

Until this happens we are willing to accept PRs that update the jquery-ui-rails dependency to 6.0 in the next minor release (4.1, still in beta), if someone want to work on this.

@tvdeyen tvdeyen reopened this May 2, 2018
@tvdeyen
Copy link
Member

tvdeyen commented May 2, 2018

@afdev82 I added support for jquery-ui-rails 6.0 in #1420

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

No branches or pull requests

2 participants