move rails dependency to version-specific gemfile