Skip to content

Commit

Permalink
0-10-stable: [snapshot]
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jun 8, 2018
1 parent 6b20987 commit 5850dc8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Gemfile
Expand Up @@ -4,9 +4,10 @@ gemspec
v = -> version { Gem::Version.new(version) if version }

ruby_version = v[RUBY_VERSION]
tilt_version = v[ENV['TILT_VERSION']]
rack_version = v[ENV['RACK_VERSION']]
sprockets_version = v[ENV['SPROCKETS_VERSION']]

tilt_version = ENV['TILT_VERSION']
rack_version = ENV['RACK_VERSION']
sprockets_version = ENV['SPROCKETS_VERSION']

# Stick with older racc until
# https://github.com/tenderlove/racc/issues/22
Expand All @@ -19,9 +20,9 @@ gem 'rack-test', '< 1.0' if ruby_version < v['2.2.2']
# thin requires rack < 2
gem 'thin', platform: :mri if !rack_version || (rack_version < v['2'])

gem 'rack', rack_version.to_s if rack_version
gem 'tilt', tilt_version.to_s if tilt_version
gem 'sprockets', sprockets_version.to_s if sprockets_version
gem 'rack', rack_version if rack_version
gem 'tilt', tilt_version if tilt_version
gem 'sprockets', sprockets_version if sprockets_version

group :repl do
gem 'therubyracer', platform: :mri, require: 'v8'
Expand Down

0 comments on commit 5850dc8

Please sign in to comment.