wayneeseguin/rvm — Issue #680: rvm gemset pristine # under ruby-1.9.3-p0@global fails (because empty?)
Author: petervandenabeele
Created: 2012-01-01 15:28:36+00:00
State: open

```
new@ASUS:~/github/shoes/shoes$ rvm --version

rvm 1.10.0 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]
```
I had installed ruby-1.9.3-rc1 during the short time that rubygems was down (around 2012-0-01 16:00 UTC).

I _presume_ this had failed to install rake in the global gemset.

When the rubygems site was up again, I had:
* created a shoes gemset
* manually installed rake and bundler into it
* bundle install
* cucumber test, all Ok

Then I executed $ rvm upgrade ruby-1.9.3-rc1 ruby-1.9.3

And this failed with

```
Making gemset ruby-1.9.3-p0@global pristine.
```

The relevant log line are probably

```
[2012-01-01 16:00:52] rvm gemset pristine # under ruby-1.9.3-p0
Restoring gems to pristine condition...
Restored bundler-1.0.21
[2012-01-01 16:00:52] rvm gemset pristine # under ruby-1.9.3-p0@global
ERROR: While executing gem ... (Gem::Exception)
Failed to find gems [] >= 0

```

The detailed log is in this gist:

https://gist.github.com/1547565