Unable to delete node in RVM

I have 1.9.2 Ruby installed in RVM. When I make a list of gems, I get the following:

bundler (1.1.3)

When I try to remove it, I get:

gem uninstall bundler
INFO:  gem "bundler" is not installed

When I try to start installing the package for my application, I get:

 Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    rails (= 3.0.1) ruby depends on
      bundler (~> 1.0.0) ruby

  Current Bundler version:
    bundler (1.1.3)

This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?

I tried to remove 1.9.2, but that did not help.

+3
source share
2 answers

An answer was found in another Stack thread, but closed it without checking the link. The problem is that rvm will not allow you to remove gems from a custom gemset that are still part of the default global gemset. Do rvm gemset use globalthen remove 1.1.3 from global.

+11
source

'sudo gem uninstall' . , "gem uninstall" "", sudo.

0

All Articles