rails/rails — Issue #3322: 'gem install rails' stuck forever on RDoc generation
Author: bradleybuda
Created: 2011-10-13 17:35:52+00:00
State: open

I'm trying a fresh 'gem install rails' for Rails 3.1.1 and it's stuck on RDoc generation for what appears to be builder-3.0.0 - these are the last lines of output:

Installing ri documentation for rails-3.1.1...
Installing RDoc documentation for multi_json-1.0.3...
Installing RDoc documentation for activesupport-3.1.1...
Installing RDoc documentation for builder-3.0.0...
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README, skipping
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README.rdoc, skipping

The ruby process for gem is running at 100% of one CPU and slowly churning through memory. I let it get up to 6.5GB of "Real Memory" (according to OSX Activity Monitor) before I gave up due to swapping; not sure if it ever would have finished. I've tried the install twice and seen the same behavior both times.

I'm using rvm to install rails in a new gemset with Ruby 1.9. Details of my platform:

* OSX Snow Leopard
* RVM 1.6.20
* ruby 1.9.2-p180
* rubygems 1.6.2

`gem install --no-rdoc --no-ri rails` seems to work correctly. Thanks in advance for any help.