Skip to content

Conversation

@smoe
Copy link
Contributor

@smoe smoe commented Feb 25, 2016

adding ruby-dev avoids running into this:

root@www.ostholstein.freifunk.net:~/git/startseite#     sudo gem install json jekyll

Fetching: json-1.8.3.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing json:
    ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.1 extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

Apparently that location is semi-magically provided via

dpkg -S /usr/include/ruby-2.1.0/ruby.h
ruby2.1-dev:amd64: /usr/include/ruby-2.1.0/ruby.h

Anyway ... works :)

Cheers,

Steffen

ruby-dev avoids running into this:

<pre>
root@www.ostholstein.freifunk.net:~/git/startseite#     sudo gem install json jekyll

Fetching: json-1.8.3.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing json:
	ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.1 extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
</pre>

Cheers,

Steffen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant