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 gemspec
gem 'mime-types', '~> 2.99' if RUBY_VERSION < '2.0' # mime-types 3+, required by mail, requires ruby 2.0+
# gem "eventmachine", path: "#{ENV["HOME"]}/Projects/eventmachine" gem "mime-types", "< 3" if Bundler.ruby_version.gem_version < Gem::Version.new("2")
#group :development do #group :development do
# gem "pry" # gem "pry"