spree-contrib / better_spree_paypal_express

A better Spree PayPal Express Extension.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
110 stars 269 forks source link

bundle install failing because gem 'spree_core (~> 3.0.0.beta) cannot be found #150

Closed bmurtagh closed 9 years ago

bmurtagh commented 9 years ago

I started following the Contribution Starting Points by forking the repo & cloning to my local computer. When attempting to bundle install I get the following error:

[brendan@dirka better_spree_paypal_express]$ bundle install
Fetching git://github.com/spree/spree.git
Updating git://github.com/spree/spree_auth_devise.git
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Could not find gem 'spree_core (~> 3.0.0.beta) ruby', which is required by gem 'spree_paypal_express     (>= 0) ruby', in any of the sources.

On the rubygems.org site for spree_core, I didn't see a 3.0.0.beta release, but 3.0.0.rc1: https://rubygems.org/gems/spree_core/versions

I attempted to update the spree_paypal_express.gemspec file to:

  s.add_dependency 'spree_core', '~> 3.0.0.rc1'

But ran into the same result:

Could not find gem 'spree_core (~> 3.0.0.rc1) ruby', which is required by gem 'spree_paypal_express (>= 0) ruby', in any of the sources.

bmurtagh commented 9 years ago

I was able to bypass the error, although I'm unsure if this didn't work properly, using:

s.add_dependency 'spree_core', '~> 3.0.rc'