Gem set rails can't finish

It was still a very rough day with Ruby ...

Using RVM, I try to just install the rails in a new gemset, but starting gem install rails freezes closer to the end and never returns control to the user.

He gets to this point and dies:

Installing RDoc documentation for activesupport-3.1.0... 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 

After that, it just hangs forever, and the only way to exit is ctrl-C and abort the process. I tried gem install rails and gem install rails -v 3.1.0. Both are doing the same.

+7
source share
1 answer

I had the same problem a few minutes ago, the installation got stuck in the same place, and then was killed, but it seems to have been installed (the execution of the gems search rails detected the installed stone). So I tried using

 gem update gem uninstall rails gem install rails 

and it worked (at least it ended without errors .. this is my first test with RoR)

+11
source

All Articles