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


28 January 2010 - Posted by | Misc. | , , , ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: