diff --git a/docs/_docs/github-pages.md b/docs/_docs/github-pages.md index b65bad90..f07af766 100644 --- a/docs/_docs/github-pages.md +++ b/docs/_docs/github-pages.md @@ -54,26 +54,22 @@ few minor details. currently-deployed version of the gem in your project, add the following to your Gemfile: -```ruby -source 'https://rubygems.org' +

source 'https://rubygems.org'

-require 'json' -require 'open-uri' -versions = JSON.parse(open('https://pages.github.com/versions.json').read) +

require 'json'

+

require 'open-uri'

+

versions = JSON.parse(open('https://pages.github.com/versions.json').read)

-gem 'github-pages', versions['github-pages'] -``` +

gem 'github-pages', versions['github-pages']

This will ensure that when you run bundle install, you have the correct version of the github-pages gem. If that fails, simplify it: -```ruby -source 'https://rubygems.org' +

source 'https://rubygems.org'

-gem 'github-pages' -``` +

gem 'github-pages'

And be sure to run bundle update often.