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

bundler, gem-bundler, ruby-on-rails, ruby-on-rails-3, rubygems

Solution

Updating to the prerelease of bundler fixed it.

gem install bundler --pre

Problem

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?

Original source