[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

Jatin Dhankhar dhankhar.jatin at gmail.com
Sun Nov 19 08:52:59 EST 2017


Hi Samson.

It looks like you don't have the development package installed and library
header needed to build gems are missing.
*mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h *

Try installing ruby-dev and other essential packages.
http://blog.mclaughlinsoftware.com/2015/04/10/install-ruby-on-fedora/

Let me know if it helps.

Thanks,
Jatin Dhankhar


On Sun, Nov 19, 2017 at 6:59 PM, Samson Goddy <samsongoddy at gmail.com> wrote:

> 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?
>
>
>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20171119/a3f63f8a/attachment-0001.html>


More information about the Sugar-devel mailing list