Lock rails version for development.

Fixes test errors on Rails 4