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.
This commit is contained in:
Sasha Gerrand 2016-04-23 07:57:38 +01:00 committed by Samuel Cochran
parent bc86e995ef
commit 02abbcbeb4

View File

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