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

Not able to integrate in spree 3.0.4 #15

Open
lmahendra opened this issue Sep 14, 2015 · 2 comments
Open

Not able to integrate in spree 3.0.4 #15

lmahendra opened this issue Sep 14, 2015 · 2 comments

Comments

@lmahendra
Copy link

Hi , when I tried to add gem in my Gemfile , it gives me error

 spree (= 3.0.4) ruby depends on
  spree_sample (= 3.0.4) ruby depends on
    spree_core (= 3.0.4) ruby

spree_admin_roles_and_access (>= 0) ruby depends on
  spree_core (~> 2.0) ruby

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

and bundler exits, please help me resolve the issue.

@lmahendra
Copy link
Author

Hi,

I somewhat downgraded the spree to check and can add this gem to Gemfile, but after running

 bundle exec rails g spree_admin_roles_and_access:install

I got following error,

/home/ec2-user/.rvm/gems/ruby-2.1.2/gems/state_machine-1.2.0/lib/state_machine/machine.rb:2260:in `block in add_states': "completed" state defined as String, :checkout defined as Symbol; all states must be consistent (ArgumentError)

Please help resolve the issue.

extract of my Gemfile contains

gem 'spree', github: 'spree/spree', branch: '2-4-stable'
gem 'spree_gateway', github: 'spree/spree_gateway', branch: '2-4-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-4-stable'
#gem 'spree_admin_roles_and_access'
gem 'spree_admin_roles_and_access', '1.3.0'
#gem 'spree_social', github: 'spree-contrib/spree_social'
gem 'spree_wallet'

current version of rails is 4.1.11

Any help would be greatly appreciated

@ShubhamGupta
Copy link
Contributor

@lmahendra This issue doesn't look like to be coming from this gem.

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

2 participants