Skip to content

Commit

Permalink
Force Rack < 2.x when using Ruby < 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Jul 1, 2016
1 parent 6123e14 commit a591ab7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -8,6 +8,7 @@ rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3

matrix:
include:
Expand Down
4 changes: 4 additions & 0 deletions Gemfile
@@ -1,2 +1,6 @@
source "https://rubygems.org"
gemspec

if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.2")
gem 'rack', '< 2.0'
end
1 change: 1 addition & 0 deletions gemfiles/Gemfile-1.9
@@ -1,3 +1,4 @@
source "https://rubygems.org"
gemspec path: '..'
gem 'sass', '< 3.4'
gem 'rack', '< 2.0'

0 comments on commit a591ab7

Please sign in to comment.