From 02abbcbeb4d174ea035fa022e76a4ff92aef5b21 Mon Sep 17 00:00:00 2001 From: Sasha Gerrand Date: Sat, 23 Apr 2016 07:57:38 +0100 Subject: [PATCH] Constrain version for Ruby v1.9.3 The `mime-types` gem removed support for MRI Ruby versions prior to 2.0 in version 3. Adding a conditional constraint around the `RUBY_VERSION` constant in the Gemfile allows the required Ruby version constraint in the gemspec to be maintained. --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index f5c56657..161e227b 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" gemspec +gem 'mime-types', '~> 2.99' if RUBY_VERSION < '2.0' # gem "eventmachine", path: "#{ENV["HOME"]}/Projects/eventmachine" #group :development do