railties 4.x dependency instead of 4.1+

I needed this change to work with rails 4.0.8.