Skip to content

Commit 98ce98d

Browse files
committed
Try to make some things work on my local system with Ruby newer than 2.6
Yes, the Gem::Version look a little odd, but it's a simple way that's available in the Gemfile to do version comparison from what I can tell.
1 parent 0d7d28b commit 98ce98d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ group :development do
1111
gem 'pry'
1212
gem 'pry-byebug'
1313
gem 'rake', '10.1.0'
14+
gem 'sync' if Gem::Version.new(RUBY_VERSION) > Gem::Version.new('2.6')
1415
gem 'syck' if RUBY_VERSION.split('.').first.to_i > 1
1516
end

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ GEM
6767
ruby-progressbar (1.10.1)
6868
stomp (1.4.9)
6969
syck (1.4.0)
70+
sync (0.5.0)
7071
systemu (2.6.5)
7172

7273
PLATFORMS
@@ -85,6 +86,7 @@ DEPENDENCIES
8586
rspec (= 3.3.0)
8687
rubocop (= 0.32.1)
8788
syck
89+
sync
8890

8991
BUNDLED WITH
9092
1.17.3

0 commit comments

Comments
 (0)