Rails 4.x.x fix

Fixes #117. Also specifies Rainbow dependency to be pre 2.0.