RVM / Cork Down Harness

I have the following interesting scenario:

I install ruby ​​1.9.2 through RVM and it comes with 1.1.4 package.

My application requires a bunch of 1.0.15.

I tried running the following:

gem uninstall bundler

I get the following:

INFO:  gem "bundler" is not installed

Any thoughts on how to lower my package?

Thank.

+5
source share
2 answers

Found a solution.

Apparently rvm sets it to the global gemspec, which is displayed by all gemspecs.

In this way:

rvm use 1.9.2@global

And further:

gem uninstall bundler

There is a trick.

It can also be shortened to:

rvm @global do gem uninstall bundler
+9
source

Try adding the following to .bash_profile

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" 

Or try linking the node to the RVM bin dir

ln -s ~/.rvm/gems/ruby-1.9.2-p290@fonista/bin/bundle ~/.rvm/bin/
0
source

All Articles