From: Jon Forums Date: 2012-04-21T09:39:59+09:00 Subject: Re: Installing ri documentation SLOW (Windows) Kevin McCaughey wrote in post #1057616: > Hi, > > When I install new GEMs the ri doc installs are taking forever. I am > waiting now over 10 minutes on actionpack-3.2.3 ri documentation to > install. > > I am running Ruby 1.9.3. My machine is Windows 7 x64, 2500k (fast) with > 8GB RAM. > > I always have problems with documentation installs. Previously I got > loads of UTF-8 errors, wiped the whole thing and started again. What version of 1.9.3 are you using? There was a very important IO related fix that landed in 1.9.3-p125: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42686 I don't know whether it helps ri as I disabled ri for gem installs a long time ago. I go straight to the source or one of the online doc sites. BTW, we provide CHM docs (core, stdlib) as part of the RubyInstaller downloads http://rubyinstaller.org/downloads/ > It's going on 15 minutes now for this and I think I am going to ctrl_c > it. > > How come Ruby on Windows is such a mess? I use the proper windows > installer, but still it is a nightmare getting up and running on rails. Specifically, what's "..such a mess" with Ruby on Windows? If you're using the RubyInstaller from http://rubyinstaller.org/ drop us a line at http://groups.google.com/group/rubyinstaller Luis Lavena, myself, and the other contributors have solved many of the key problem areas, and certain ruby-core committers are continuing to solve Windows-specific issues as we find and report them. In addition, many gem authors (such as the ones behind Nokogiri, Thin, EventMachine, SQLite3, GTK2, FFI, etc) provide binary gems for RubyInstaller users and work hard to actively maintain them. And have you checked out our DevKit build toolchain that makes your life *much* easier when dealing with native gems that don't have a mingw binary version? https://github.com/oneclick/rubyinstaller/wiki/Development-Kit If you're using JRuby on Windows, the situation and support is very good. I've never used http://railsinstaller.org/ as I don't seem to have the nightmare some have with installing rails on windows, but it certainly looks like it could help those who do. > I have VM Workstation. Would it just be quicker running all this in a > virtual machine in Linux? I use VirtualBox to run Arch, Ubuntu Server, and FreeBSD on my Win7 32bit box. Even with my slow laptop with only 4GB I find things very stable and powerful. That said, I really would like to hear specifics from you over at our http://groups.google.com/group/rubyinstaller ML. Perhaps it's a configuration issue or something we've already solved. Or maybe you've found a new issue that needs fixing. Jon -- Posted via http://www.ruby-forum.com/.