Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bundler is not compatible with Rubygems 2.0. Please upgrade to Bundler 1.3 or higher

I am deploying a Ruby on Rails application and part of the startup script that I have when provisioning a new box is gem update --system.

This happened to upgrade Rubygems to version 2.0. however, it looks like bundler is not compatible with this newer version of Rubygems.

Bundler is not compatible with Rubygems 2.0.
Please upgrade to Bundler 1.3 or higher.

Has anyone seen this or found a workaround?

like image 802
kobaltz Avatar asked Feb 25 '13 02:02

kobaltz


2 Answers

Updating to the prerelease of bundler fixed it.

gem install bundler --pre
like image 179
kobaltz Avatar answered Sep 22 '22 00:09

kobaltz


I had the same problem and, since I was using RVM, I fixed it with the following command:

rvm rubygems 1.8.25

If you are not using RVM, you could just try the following:

rubygems 1.8.25

This should remove your Rubygems 2.0 and allow Bundler to work again.

like image 21
Dennis Connolly Avatar answered Sep 19 '22 00:09

Dennis Connolly