From f5cbdec8b3d6f9345fe9dc9935a3e5bc4cbc7abc Mon Sep 17 00:00:00 2001 From: Samuel Cochran Date: Sat, 23 Apr 2016 15:22:46 +0800 Subject: [PATCH] Just keep mime-types < 3, and use strong version comparison --- Gemfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 161e227..f00a2d2 100644 --- a/Gemfile +++ b/Gemfile @@ -2,8 +2,8 @@ source "https://rubygems.org" gemspec -gem 'mime-types', '~> 2.99' if RUBY_VERSION < '2.0' -# gem "eventmachine", path: "#{ENV["HOME"]}/Projects/eventmachine" +# mime-types 3+, required by mail, requires ruby 2.0+ +gem "mime-types", "< 3" if Bundler.ruby_version.gem_version < Gem::Version.new("2") #group :development do # gem "pry"