August 2011

26
Aug
2011
david

Bash One-liner to Remove Old Kernels

I had 800MB of space taken up by old kernels, header files, and kernel modules. On most modern systems, this is no big deal. On my netbook, with it’s 30GB ssd, every gig is precious.

 

11
Aug
2011
david

Setting up Ruby 1.9.2 and Rails 3.0.9 using RVM

 Ruby Version Manager (rvm) is a shell function that lets you easily switch between versions of ruby (and their corresponding gems). These instructions walk you through installing rvm, ruby, and rails on linux for a single-user setup (files kept in ~/.rvm). Following these instructions as root should set everything up for a multi-user installation.