mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Fix #3970: Use Gem::Version to compare versions, not >.
This commit is contained in:
@@ -133,6 +133,7 @@
|
||||
* Set `future` to `false` in the default config (#3892)
|
||||
* filters: `where` should compare stringified versions of input & comparator (#3935)
|
||||
* Read build options for `jekyll clean` command (#3828)
|
||||
* Fix #3970: Use Gem::Version to compare versions, not >.
|
||||
|
||||
### Development Fixes
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ module Jekyll
|
||||
rouge/plugins/redcarpet
|
||||
])
|
||||
|
||||
if Rouge.version < '1.3.0'
|
||||
unless Gem::Version.new(Rouge.version) > Gem::Version.new("1.3.0")
|
||||
abort "Please install Rouge 1.3.0 or greater and try running Jekyll again."
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user