Upgrade ruby and rails

WHAT?
----------

I've upgraded ruby to 2.1.2 (has GC fixes apparently) and rails to 4.0.6 (latest patch release)