Allow testing against different rails versions

Use `RAILS_VERSION=4.1 bundle update` to test against rails 4.1.0.