Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gem install rails can't finish

Had a really rough day with Ruby so far...

Using RVM I'm trying to just install rails into a new gemset but running gem install rails hangs toward the end and never returns control back to the user.

It 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 get out is to ctrl-C and interrupt the process. I've tried gem install rails and gem install rails -v 3.1.0. Both do the same thing.

like image 782
ThunderChunky_SF Avatar asked Oct 10 '11 22:10

ThunderChunky_SF


1 Answers

i had the same problem some minutes ago, the install stuck at the same point, then got killed but it seemed to be installed (doing a gem search rails it found the installed gem). So i tried with a

gem update
gem uninstall rails
gem install rails

and it worked (at least it finished without errors.. it's my first test with RoR)

like image 141
Ecio Avatar answered Nov 13 '22 19:11

Ecio