Reputation: 6090
I am trying to install spree
and its extension spree_static_content
. I want spree 3.1.0 beta
because thats the dependency for spree_static_content
. But when I try to run bundle install, i get
Fetching git://github.com/spree/spree.git
but its stuck there. here is my gemfile
gem 'spree', github: 'spree/spree', branch: '~> 3.1.0.beta'
gem 'spree_gateway', github: 'spree/spree_gateway', branch: '~> 3.1.0.beta'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '~> 3.1.0.beta'
gem 'spree_static_content', github: 'spree-contrib/spree_static_content', branch: 'master'
I am able to install other versions of spree by mentioning just the version,
for eg.
gem 'spree' , '~> 3.0.7'
bundles install runs successfully. Can anyone tell me why bundle install is not working. I tried updating bundler , didnt help.
And while trying I understand that for some reason fetching spree from github is not working but fetching other gems from github works
Upvotes: 0
Views: 429
Reputation: 352
please check whether the branch you have mentioned in your Gemfile is available.
I believe branch 3.1.0
is still not available at spree repo at github.
current and stable branch is '3-0-stable'.
Upvotes: 1
Reputation: 578
When you're installing gems with git
, or github
, you have to make sure that the tag
, branch
, or ref
you're referring to exists (bundler will just checkout the specified tag/branch/ref from the repository). Take a look at the available branches here and choose what to install:
Upvotes: 0