Specify rack dependency for Ruby 2.1

This should be removed after Ruby 2.1 reaches end-of-life.
This commit is contained in:
Takashi Kokubun 2016-12-31 14:45:34 +09:00
parent 311c046c65
commit 1e921d5f4e
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in hamlit.gemspec
gemspec
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
gem 'rack', '< 2'
end
gem 'benchmark-ips', '2.3.0'
gem 'minitest-line'
gem 'pry-byebug'