wayneeseguin/rvm — Issue #718: rubygems install fails if no README
Author: lightcap
Created: 2012-01-24 03:50:56+00:00
State: open

When installing rubygems-1.4.2 for an older project I got an error:

```
$ rvm rubygems 1.4.2
Retrieving rubygems-1.4.2

ERROR: Error running 'GEM_PATH="/Users/mattkern/.rvm/gems/ruby-1.8.7-p357:/Users/mattkern/.rvm/gems/ruby-1.8.7-p357@global:/Users/mattkern/.rvm/gems/ruby-1.8.7-p357:/Users/mattkern/.rvm/gems/ruby-1.8.7-p357@global" GEM_HOME="/Users/mattkern/.rvm/gems/ruby-1.8.7-p357" "/Users/mattkern/.rvm/rubies/ruby-1.8.7-p357/bin/ruby" "/Users/mattkern/.rvm/src/rubygems-1.4.2/setup.rb"', please read /Users/mattkern/.rvm/log/ruby-1.8.7-p357/rubygems.install.log
WARN: Installation of rubygems did not complete successfully.
```

The installation log reports that the `README` could not be found.

Copying the `README.rdoc` to `README` in `.rvm/src/rubygems-1.4.2` solves the problem.

Looks like we need to allow either `README` *or* `README.rdoc` to exist. Is there a reason that it doesn't look for a plain old `README` too? I'll patch if not, just don't want to waste time if there's a good reason for it.