Leftshift’s Weblog

Techniques to improve your code

Installing gems without ri and rdoc

There is scarce doc out there on how configure ruby gems on windows. Create a .gemrc file [if it doesn’t exist already] here

C:\Documents and Settings\<user>\home\.gemrc

Add the following line:

gem: –no-ri –no-rdoc

and viola – new gem installs will be that bit quicker

Update: The above only works for older versions of Windows

For Win 7 / Server 2008 create the .gemrc here c:\users\<user\.gemrc

 

Advertisements

28 January 2010 Posted by | Misc. | , , , , | Leave a comment