blt04 / puppet-rvm

A puppet module for installing and using RVM (Ruby Version Manager)
Other
242 stars 280 forks source link

rvm broke gemsets? #54

Closed scumola closed 11 years ago

scumola commented 11 years ago

I asked #rvm on irc and they said that "gem list --local bundler$" is now "do gem list --local bundler$".

I'm getting this:

Oct 4 18:17:06 int-bacin-app01 puppet-agent[11734]: (/Stage[main]/Bacin/Rvm_gem[ruby-1.9.3-p194@bacin/bundler]) Could not evaluate: Could not list gems: Execution of '/usr/local/rvm/bin/rvm ruby-1.9.3-p194@bacin do gem list --local bundler$' returned 1: Unrecognized command line argument: 'do gem' ( see: 'rvm usage' )

but I can do this on the command-line and get success:

[root@int-bacin-app01 ~]# /usr/local/rvm/bin/rvm ruby-1.9.3-p194@bacin do gem list --local bundler$

* LOCAL GEMS *

bundler (1.2.1)

I'm not sure which version of the rvm module that I have of yours. I've not updated it in 6+ months.

scumola commented 11 years ago

Nevermind. I see it's fixed in gem.rb