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

bundle update #80

Closed
nonfungibletunji opened this issue May 7, 2013 · 16 comments
Closed

bundle update #80

nonfungibletunji opened this issue May 7, 2013 · 16 comments

Comments

@nonfungibletunji
Copy link

Bundler could not find compatible versions for gem "devise":
In Gemfile:
spree_auth_devise (>= 0) ruby depends on
devise (~> 2.2.3) ruby

spree_auth_devise (>= 0) ruby depends on
  devise (3.0.0.rc)
@GeekOnCoffee
Copy link
Contributor

Not sure why it's picking up on the new version...

Adding gem 'devise', '~> 2.2.3' to your Gemfile should solve the problem.

@schof
Copy link
Contributor

schof commented May 7, 2013

spree_auth_devise has not been tested against the 3.0.x devise gem yet so we're not allowing that version to be used just yet. Somehow you're requiring a higher version than what Spree allows or you're using something that requires this higher version.

Closing for now although I'm sure we'll support 3.0.x once it becomes final.

@schof schof closed this as completed May 7, 2013
@nonfungibletunji
Copy link
Author

source 'https://rubygems.org'

gem 'rails', '3.2.13'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'sqlite3'
gem 'devise', '~> 2.2.3'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  #gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  gem 'therubyracer', :platforms => :ruby

  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the app server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'debugger'
gem 'spree', '1.3.2'
gem 'spree_gateway', :github => 'spree/spree_gateway', :branch => '1-3-stable'
gem 'spree_auth_devise', :github => "spree/spree_auth_devise", :branch => "1-3-stable"
#gem 'spree_fab', :git => 'git://github.com/stunjiturner/spree_fab.git'

#gem 'spree_fancy', :git => 'git://github.com/spree/spree_fancy.git', :branch => '1-3-stable'

@nonfungibletunji
Copy link
Author

as u can i see i am just using the 1-3-stable branch. I have not changed anything. everything was working well, bundle update then boom. @GeekOnCoffee tried your suggestion to nothing working.

@schof
Copy link
Contributor

schof commented May 7, 2013

OK just confirmed this is happening on clean install. I suspect a bundler bug. Investigating ...

@schof schof reopened this May 7, 2013
@nonfungibletunji
Copy link
Author

gem install bundler with a latest version :: Successfully installed bundler-1.3.5, everything now works

@supherman
Copy link

any thoughts on this?, I tried updating bundler and not worked, my idea is that something happened with the devise 2.2.4 release a few hours ago, I just added gem 'devise', '2.2.4' to my gemfile and everything works

@JDutil
Copy link
Member

JDutil commented May 7, 2013

I just tried installing bundler 1.3.5 and it does not resolve the issue.

I can't find anything in spree_auth_devise source that sticks out to me as being the issue...

Went with adding devise to gemfile to fix things for now:

gem 'devise', '~> 2.2.3'

@psymeon
Copy link

psymeon commented May 11, 2013

I was having the same problem until I updated to GeekOnCoffee's commit, which fixed the problem on my machine. However, when I try to deploy to heroku I get the same error again. Any ideas?

@JDutil
Copy link
Member

JDutil commented May 11, 2013

Make sure your Gemfile.lock is updated to the latest for spree_auth_devise and for devise-encryptable or it may be trying to still use the old version of devise-encryptable.

@psymeon
Copy link

psymeon commented May 12, 2013

Thanks for your tip @JDutil , solved the problem :)

@MarkVillacampa
Copy link

Could someone merge this into 1-2-stable too? I'm experiencing the same problem there.

Thanks.

@radar
Copy link
Contributor

radar commented May 14, 2013

@MarkVillacampa done :)

@MarkVillacampa
Copy link

@radar can't see it yet in the 1-2-stable branch =(

I was referring to this commit:

b1c5f6d

@radar
Copy link
Contributor

radar commented May 14, 2013

@MarkVillacampa please try again. I had only pushed it to my fork and not to Spree's.

@MarkVillacampa
Copy link

@radar Works now, thank you! \o/!

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

8 participants