Switch to .ruby-version and 1.8.7-p374

Could not get ree to build on Ubuntu 14.04.