-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
52 lines (40 loc) · 1.37 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
source 'https://rubygems.org'
gemspec
v = -> version { Gem::Version.new(version) if version }
ruby_version = v[RUBY_VERSION]
tilt_version = ENV['TILT_VERSION']
rack_version = ENV['RACK_VERSION']
sprockets_version = ENV['SPROCKETS_VERSION']
gem 'json', '< 1.8.1', platform: :ruby if ruby_version < v['2.2']
gem 'psych', '< 5.0.0', platform: :ruby if ruby_version < v['3.2a']
gem 'rack-test', '< 0.8' if ruby_version <= v['2.0']
gem 'coveralls', platform: :mri
# Some browsers have problems with WEBrick
gem 'puma' unless RUBY_ENGINE == 'truffleruby'
gem 'rack', rack_version if rack_version
gem 'tilt', tilt_version if tilt_version
gem 'sprockets', sprockets_version if sprockets_version
group :repl do
if RUBY_VERSION.to_f >= 2.3
gem 'mini_racer', platform: :mri, require: false
else
gem 'mini_racer', '< 0.2.0', platform: :mri, require: false
gem 'libv8', '~> 6.3.0', platform: :mri, require: false
end
gem 'therubyrhino', platform: :jruby, require: false
end
group :browser do
gem 'selenium-webdriver', '>= 3.0.0.beta3.1', platform: :mri
end
group :development do
gem 'rb-fsevent'
gem 'guard', require: false
gem 'listen', require: false
if RUBY_PLATFORM =~ /darwin/
gem 'terminal-notifier-guard'
gem 'terminal-notifier'
end
end unless ENV['CI']
group :doc do
gem 'redcarpet' unless RUBY_ENGINE == 'truffleruby'
end unless ENV['CI']