Just keep mime-types < 3, and use strong version comparison

This commit is contained in:
Samuel Cochran 2016-04-23 15:22:46 +08:00
parent 02abbcbeb4
commit f5cbdec8b3

View File

@ -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"