forked from ruby-debug/ruby-debug-ide
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Gemfile
44 lines (39 loc) · 1.24 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
source "http://rubygems.org"
gemspec
# Need to limit Debase to 0.2.2 for Ruby 2.0 so the tests
# pass but it appears that Debase 2.4 will work when Debase
# is using in a project. The error in the tests is:
#
# Error: test_catchpoint_basics(RDCatchpointTest): RuntimeError: expected "suspended" start_element, but got "end_document: []"
#
if RUBY_VERSION
if RUBY_VERSION < "1.9"
gem "ruby-debug-base"
elsif RUBY_VERSION < "2.0"
gem "ruby-debug-base19x", ">= 0.11.32"
elsif RUBY_VERSION < "2.1"
gem "debase", "<= 0.2.2"
gem "debase-ruby_core_source", "<= 0.11"
else
gem "debase", ">= 0.2.2"
end
end
group :development, :test do
# Bundler 1.9.0 has an error on Ruby 1.9.3:
#
# https://github.com/rubygems/bundler/issues/3492
#
gem "bundler", "> 1.9"
if RUBY_VERSION < "1.9"
gem "test-unit", "~> 2.1.2"
else
gem "test-unit"
end
# Only lint the latest version. We can set Standard to lint against
# Ruby 1.9.3 using the Standard `ruby_version` feature.
#
# https://github.com/testdouble/standard#how-do-i-specify-a-ruby-version-what-is-supported
if RUBY_VERSION >= "2.6"
gem "standard", git: "https://github.com/corgibytes/standard", branch: "feature/update-legacy-rubocop-config-files"
end
end