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. | , , , , | Leave a comment

I knew this would happen

I fully expected myself to get out of the habit of blogging at least once a week. I’ve been on holiday [twice] and it only takes a few weeks away from the world of software development to let something slip.

Anyway, I’m back. Honest.

26 November 2008 Posted by | Misc. | Leave a comment

Wordle Up

I’m off on holiday for the next two weeks so before being largely disconnected I thought I’d point you in the direction of wordle. It’s a tag cloud creator and works based on an RSS or ATOM feed, or any text you paste in. Here is the cloud for this blog

Tag cloud of leftshift.wordpress.com

As you can see it produces very nice images and the fonts, colours and layout are all customizable. I think I might start adding a tag index to all docs I produce to give people a visual clue of the content.

Happy coding and see you in a couple of weeks.

15 August 2008 Posted by | Misc. | , | Leave a comment