Skip to content

Commit

Permalink
use compatible versions of gems
Browse files Browse the repository at this point in the history
  - json: "~> 2.0"
    # ruby/json#303 (comment)

  - pygments.rb: "~> 1.1"
  • Loading branch information
ashmaroli committed Dec 25, 2016
1 parent 2133397 commit e463813
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ gemspec :name => "jekyll"

gem "rake", "~> 12.0"

if RUBY_VERSION >= '2.4'
gem "json", "~> 2.0"
gem "pygments.rb", "~> 1.1"
else
gem "pygments.rb", "~> 0.6.0" unless RUBY_ENGINE == "jruby"
end

# Dependency of jekyll-mentions. RubyGems in Ruby 2.1 doesn't shield us from this.
gem "activesupport", "~> 4.2", :groups => [:test_legacy, :site] if RUBY_VERSION < "2.2.2"

Expand Down Expand Up @@ -75,7 +82,6 @@ group :jekyll_optional_dependencies do
platform :ruby, :mswin, :mingw, :x64_mingw do
gem "classifier-reborn", "~> 2.0"
gem "liquid-c", "~> 3.0"
gem "pygments.rb", "~> 0.6.0"
gem "rdiscount", "~> 2.0"
gem "redcarpet", "~> 3.2", ">= 3.2.3"
end
Expand Down

0 comments on commit e463813

Please sign in to comment.