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.
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)
With "gem update" I found some errors in "make "DESTDIR=" clean (not found)" and I did not figure out the reason for that. Using "gem uninstall rails", it gives me that rails is not alreadty installed. And I can't install rails typing "gem install rails".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.