Skip to content

Commit

Permalink
Constrain version for Ruby v1.9.3
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Sasha Gerrand authored and sj26 committed Apr 23, 2016
1 parent bc86e99 commit 02abbcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -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
Expand Down

0 comments on commit 02abbcb

Please sign in to comment.