-
Installing Ruby 1.9.2 on Ubuntu 11.10 Oneiric Ocelot without using RVM
It seems installing Ruby 1.9 on Ubuntu without the use of RVM isn’t all that trivial. I had to poke around the system for quite a while before I got it running.
Why not RVM?
Well, I tried RVM but compiling Ruby took 3 hours on my EC2 micro instance and was eating all my CPU so that my webserver was basically not available anymore. To me that isn’t acceptable. Besides, I think it is highly wasteful to compile packages from source when there are precompiled versions available. I admit that apt is too slow to keep up with the rapidly moving gems ecosystem but for the Ruby interpreter itself I strongly prefer the OS to handle the installation.
-
How to find out if you are running Apache mpm-prefork or mpm-worker
I struggled with this today whilst trying to figure out Apache’s config options.
-
Editing LESS and CSS3 with vim
A thought or two about CSS precompilers
-
Sharing a single gitconfig between your work and home computers and taking care of user.email
I just started a new job where git is being used and since I had accumulated some stuff in mit
.gitconfig
, I wanted it to be on my work computer too. I use a git repository for all my dotfiles, which I then clone on the machine and symlink files like.gitconfig
or.vimrc
to the home directory. This means if I add something to those files at work and want to use the configuration at home too I just need to commit, push and pull the changes at home. Well, this works pretty good until you realise that there are some config entries you want to be different in the two environments. Git’suser.email
is obviously such a case. -
Cobertura sample XML output
Today I was desperately looking for some sample XML that Cobertura generates, as I was writing a converter from jscoverage’s JSON to Cobertura’s XML.
-
Installing Ruby 1.9.2 on Ubuntu 11.10 Oneiric Ocelot without using RVM
It seems installing Ruby 1.9 on Ubuntu without the use of RVM isn’t all that trivial. I had to poke around the system for quite a while before I got it running.
Why not RVM?
Well, I tried RVM but compiling Ruby took 3 hours on my EC2 micro instance and was eating all my CPU so that my webserver was basically not available anymore. To me that isn’t acceptable. Besides, I think it is highly wasteful to compile packages from source when there are precompiled versions available. I admit that apt is too slow to keep up with the rapidly moving gems ecosystem but for the Ruby interpreter itself I strongly prefer the OS to handle the installation.
-
How to find out if you are running Apache mpm-prefork or mpm-worker
I struggled with this today whilst trying to figure out Apache’s config options.
-
Editing LESS and CSS3 with vim
A thought or two about CSS precompilers
-
Sharing a single gitconfig between your work and home computers and taking care of user.email
I just started a new job where git is being used and since I had accumulated some stuff in mit
.gitconfig
, I wanted it to be on my work computer too. I use a git repository for all my dotfiles, which I then clone on the machine and symlink files like.gitconfig
or.vimrc
to the home directory. This means if I add something to those files at work and want to use the configuration at home too I just need to commit, push and pull the changes at home. Well, this works pretty good until you realise that there are some config entries you want to be different in the two environments. Git’suser.email
is obviously such a case. -
Cobertura sample XML output
Today I was desperately looking for some sample XML that Cobertura generates, as I was writing a converter from jscoverage’s JSON to Cobertura’s XML.