Ruby-ize toolchain script; better rakefile install task