You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.
Following the install instructions for the Github Pages site gives the following error when running bundle install
current directory:
/tmp/bundler20181019-2015-enjtmcjson-1.8.3/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
generator.c: In function ‘generate_json’:
generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function);
did you mean ‘mFixnum’?
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
mFixnum
generator.c:861:25: note: each undeclared identifier is reported only once for
each function it appears in
generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function);
did you mean ‘rb_cFixnum’?
} else if (klass == rb_cBignum) {
^~~~~~~~~~
rb_cFixnum
Makefile:242: recipe for target 'generator.o' failed
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in
/tmp/bundler20181019-2015-enjtmcjson-1.8.3/gems/json-1.8.3 for inspection.
Results logged to
/tmp/bundler20181019-2015-enjtmcjson-1.8.3/extensions/x86_64-linux/2.5.0/json-1.8.3/gem_make.out
An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.3' --source 'https://rubygems.org/'`
succeeds before bundling.
In Gemfile:
github-pages was resolved to 106, which depends on
jekyll-mentions was resolved to 1.2.0, which depends on
html-pipeline was resolved to 2.3.0, which depends on
activesupport was resolved to 4.2.7, which depends on
json
It seems that this is caused by a Ruby version mismatch as described in this issue. The Travis build seems to still be passing anyway since it explicitly sets the Ruby version to 2.2.2.
The output of ruby --version after following the setup instructions in the README is
I've been able to get it working by deleting the Gemfile.lock file before running bundle install, but this obviously isn't ideal. Regardless, it doesn't seem like the current instructions are working on Ubuntu 18.04.
The text was updated successfully, but these errors were encountered:
Following the install instructions for the Github Pages site gives the following error when running
bundle install
It seems that this is caused by a Ruby version mismatch as described in this issue. The Travis build seems to still be passing anyway since it explicitly sets the Ruby version to 2.2.2.
The output of ruby --version after following the setup instructions in the README is
I've been able to get it working by deleting the Gemfile.lock file before running bundle install, but this obviously isn't ideal. Regardless, it doesn't seem like the current instructions are working on Ubuntu 18.04.
The text was updated successfully, but these errors were encountered: