Add rails to Gemfile for mimetype detection.