Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Debian dependency for native ruby ext #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

added Debian dependency for native ruby ext #19

wants to merge 1 commit into from

Conversation

smoe
Copy link
Contributor

@smoe smoe commented Feb 25, 2016

adding ruby-dev avoids running into this:

[email protected]:~/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.

None yet

1 participant