[Sugar-devel] An error occurred while installing json (1.8.6), and Bundler cannot continue. Make sure that `gem install json -v '1.8.6'` succeeds before bundling

Samson Goddy samsongoddy at gmail.com
Sun Nov 19 08:29:38 EST 2017


i cloned the www-sugarlabs trying to run it on Fedora 27,

after doing

bundle install;

i keep getting this error

[samson at localhost www-sugarlabs]$ bundle install;
Fetching gem metadata from https://rubygems.org/.........
Using i18n 0.8.1
Fetching json 1.8.6
Installing json 1.8.6 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory:
/home/samson/.gem/ruby/2.4.0/gems/json-1.8.6/ext/json/ext/generator
/usr/bin/ruby -r ./siteconf20171119-626-198n0qq.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in
/home/samson/.gem/ruby/2.4.0/gems/json-1.8.6 for inspection.
Results logged to
/home/samson/.gem/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-1.8.6/gem_make.out

An error occurred while installing json (1.8.6), and Bundler cannot
continue.
Make sure that `gem install json -v '1.8.6'` succeeds before bundling.

In Gemfile:
  github-pages was resolved to 126, which depends on
    jekyll-mentions was resolved to 1.2.0, which depends on
      html-pipeline was resolved to 2.5.0, which depends on
        activesupport was resolved to 4.2.7, which depends on
          json

Anyone will similar issues?

Hrishi? Seetaramaraju? James? walter?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20171119/7a2dd83e/attachment.html>


More information about the Sugar-devel mailing list