Skip to content

Commit f519d39

Browse files
committed
Better workaround for bundler issue #5346
1 parent 2ca2309 commit f519d39

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
source 'https://rubygems.org'
22

3-
require 'json'
4-
require 'open-uri'
3+
# use Kernel.require as a workaround per https://github.com/bundler/bundler/issues/5346
4+
Kernel.require 'json'
5+
Kernel.require 'open-uri'
56
version = JSON.parse(open('https://pages.github.com/versions.json').read)
67

78
ruby version['ruby']
89
gem 'github-pages', version['github-pages'], group: :jekyll_plugins
910
gem 'html-proofer', group: :htmlproofer
10-
gem 'json', group: :travis_ci # requiring json a second time fixes Travis CI builds

Gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ PLATFORMS
209209
DEPENDENCIES
210210
github-pages (= 116)
211211
html-proofer
212-
json
213212

214213
RUBY VERSION
215214
ruby 2.3.3p222

0 commit comments

Comments
 (0)