Bundler could not find compatible versions for gem "builder": In
Gemfile:
rails (= 3.1.1) depends on
builder (~> 3.0.0)
feedzirra (~> 0.1.1) depends on
builder (2.1.2)
Does it mean, that the latest feedzirra version is incompatible with the latest rails version?
According to archiloque, "It's already done in commit 26532da, I just need to release a new version the includes this change"
For now, putting this in your Gemfile should fix that issue:
gem 'feedzirra', :git => 'https://github.com/pauldix/feedzirra.git'
The specific revision that worked for me is:
remote: https://github.com/pauldix/feedzirra.git
revision: dee1454980e7b93022776cd047ad419da3999332
Related
I am trying to install ruby gems and having the following issue. Please suggest. I am a novice in Ruby n Rails. Right now I am using Ruby 2.0.0.
Bundler could not find compatible versions for gem "nokogiri":
In Gemfile:
nokogiri (~> 1.5)
fog (~> 1.23.0) was resolved to 1.23.0, which depends on
nokogiri (~> 1.5, >= 1.5.11)
Bundler could not find compatible versions for gem "ruby":
In Gemfile:
ruby (~> 2.0.0.0)
nokogiri (~> 1.5) was resolved to 1.8.5, which depends on
ruby (>= 2.1.0)
Bundler could not find compatible versions for gem "sprockets":
In Gemfile:
activeadmin-wysihtml5 was resolved to 1.0.0, which depends on
activeadmin-dragonfly was resolved to 0.0.2, which depends on
activeadmin was resolved to 2.0.0.alpha, which depends on
sprockets (>= 3.0, < 4.1)
sass-rails (~> 4.0.3) was resolved to 4.0.3, which depends on
sprockets (~> 2.8, <= 2.11.0)
As the most easy solution I'd propose to remove versions from Gemfile i.e. instead of writing
gem 'nokogiri', '~> 1.5'
use just
gem 'nokogiri'
The same for all conflicting gems. And then try to rerun you bundle install. This would make Bundler more broad possibilities to find suitable versions. After all dependencies are installed correctly, just fix gem versions according to Gemfile.lock
Error running bundle install command. Ruby version is 2.2.0 and Rails version is 4.1.8. Environment is Apple Mac OS Sierra (10.12.5)
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
composite_primary_keys (= 7.0.15) was resolved to 7.0.15, which depends on
activerecord (~> 4.1.7)
rails (= 4.2.4) was resolved to 4.2.4, which depends on
activerecord (= 4.2.4)
Bundler could not find compatible versions for gem "rack":
In Gemfile:
rack (~> 1.5.3)
omniauth was resolved to 1.7.1, which depends on
rack (< 3, >= 1.6.2)
Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (= 4.2.4)
commands was resolved to 0.2.1, which depends on
rails (>= 3.2.0)
model_tree was resolved to 1.0, which depends on
rails
You need to upgrade the version of composite_primary_keys gem.
Change it to ~> 8.0.0 which requires activerecord '~>4.2.0'
gem 'composite_primary_keys', '~> 8.0.0'
Refer composite_primary_keys.gemspec
Similarly, for other gems you can do the same.
Or if you are not sure on the gem versions you can just add gem name and leave the versions for bundler to take care of it.
please help me with this bundle install error....
Resolving
dependencies...............................................................
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
irwi was resolved to 0.5.0, which depends on
actionpack (>= 4.0)
rails (= 3.1.4) was resolved to 3.1.4, which depends on actionpack
(= 3.1.4)
You must either update your Rails version (this will update your actionpack) or downgrade irwi to an old version which is compatible with Rails 3.1.4
I strongly recommend updating Rails
According to docs for irwi (README) and gemspec
Irwi is a Ruby on Rails 4 plugin which adds wiki functionality to your application.
it seems like it will work only with RoR 4+
How do I install spree_static_content? I get following error.
In Gemfile:
spree_core (~> 3.0.0) ruby
spree_core (~> 3.0.0) ruby
spree_core (~> 3.0) ruby
spree_static_content (>= 0) ruby depends on
spree_core (~> 3.1.0.beta) ruby
spree_core (= 3.0.1) ruby
spree_core (= 3.0.1) ruby
spree_core (= 3.0.1) ruby
spree_core (= 3.0.1) ruby
Could not find gem 'spree_core (~> 3.1.0.beta) ruby in any of the sources
At last it said that I need to do
bundle update
I did that but again get the same error.
The master branch of spree_static_content is, as if this writing, referencing 3.1.0.beta of Spree. Any project using an older version of Spree, like 3.0-stable, will not be compatible.
To use this gem for a 3.0-stable Spree project, you'll need to use the branch of spree_static_content that is built to run against that version of Spree. You can view it here:
https://github.com/spree-contrib/spree_static_content/tree/3-0-stable
Your Gemfile should use this line to include the gem:
gem 'spree_static_content', github: 'spree-contrib/spree_static_content', branch: '3-0-stable'
Note the branch: value. For other versions of Spree, find the matching branch of spree_static_content.
The error message tells you what to do.
The error is:
spree_static_content (>= 0) ruby depends on spree_core (~>
3.1.0.beta) ruby
That means you need spree_core 3.1.0.beta or higher.
Running bundle update will not update a gem beyond the version specified in the Gemfile.
It appears you may have the same gem listed multiple times in your Gemfile, as well.
Try adjusting your gemfile to have just one entry for spree, of the appropriate version. It will probably look like this:
gem 'spree', github: 'spree/spree'
Note that the spree documentation instructs adding spree, not spree_core. The spree gem will include the appropriate spree components of the correct version.
Please also not that updating spree is usually a little more involved than simply updating the version number and running bundle update. You will likely need to make other adjustments to your application to accommodate the new version.
I was going through my Gemfile updating to the latest releases when I got this error:
Bundler could not find compatible versions for gem "mime-types":
In Gemfile:
rails (= 4.0.2) ruby depends on
mime-types (~> 1.16) ruby
mechanize (= 2.7.3) ruby depends on
mime-types (2.0)
Is it true that Rails 4.0.2 is depending on a much older version of mime-types than a lot of gems that are out there or is there something wrong with my local configuration?
P.S. I tried updating the dependencies with ´bundle update´, but I just got the same error again.
rails requires mime-types with a version of 1.16 or greater, but smaller than 2.0. However, mechanize requires mime-types with a version of 2.0 or greater.
I suggest you drop the mechanize-version to 2.7.2:
gem 'mechanize', '2.7.2'
This will resolve your conflict.