Ensure the use of v1.8 of ruby

A few places were missed in the previous commit, this is due to some incompatible changes in ruby 2.0. Fixes #11.