-
Notifications
You must be signed in to change notification settings - Fork 354
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
Failed to build gem native extension #133
Comments
Did you also install the development headers? They don't seem to be present:
|
Do you mean installing ruby-dev? But the error remains the same after that step...
|
You need the Ruby 2.1 dev headers. Maybe @envygeeks would know more on how to get them... |
|
Oops,,, |
There is something wrong with your apt source, Brightbox Ruby does have |
I get this error when running
My Ruby version when running
|
@martinbean Related, yes, but on a different platform. See jekyll/jekyll#3999 and jekyll/jekyll#3984 |
@parkr Strange. I’m not running El Capitan (still on Mavericks). |
Check out the SDK version in that stack trace. |
Closing as stale. |
if using ruby version 2.2 or greater you need to have ruby2.2-dev
|
You might take a look |
I am having a similar error on RHEL 7. I have also installed ruby-devel and am receving this error: gem install tiny_tds --source http://rubygems.org
mkmf.rb can't find header files for ruby at /opt/rh/rh-ruby22/root/usr/share/include/ruby.h extconf failed, exit code 1 |
@midacts It looks like you're using a custom version of Ruby installed to |
Hi @parkr Could you elaborate on how to do that? I'm a complete ruby noob, I'm just trying to get the knife-azure gem installed for chef, and am getting this message: current directory: /var/lib/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri I tried this command: sudo apt-get install ruby2.3-dev Any advice appreciated! |
Here are some documents that came in handy: - I use vim 8 style of managing packages: https://shapeshed.com/vim-packages/ - I had to use rvm use system to install command T in order that it would use the system ruby to install it wincent/command-t#214 (comment) - I had to install ruby2.3-dev github/pages-gem#133 (comment) - In order to install command t you have to do something either `rake make` or use `make clean; ruby extconf.rb && make`
I've installed git for windows,JRuby,rjgit and gollum serval days ago,and they work well. But gollum doesn't recognize the form of table.When i install github-markdown by the command of gem install github-markdown,the error comes.
|
I got error while installing error log
windows 10 machine |
I don't know why I'm being pinged here, but switch to Linux on Windows, it's better. |
Hi there, sorry for respawning the thread but I preferred to do so as I think it applies to my issue. I am trying to install Jekyll locally as per the official instructions. It fails when trying to build/install commonmarker:
The issue is that ruby.h is present on my machine (this is Fedora 26), albeit in a different location: /usr/include/ruby.h I have a workaround in that I just symlink /usr/share/include/ruby.h to that location but I am not sure what is the status of Jekyll support via Github on the various distros. Is that an expected error (I am a newbie for Ruby-related things)? Thanks! |
I had the same above issue but it turned out I did need to install the ruby headers
Link to solutions for other distros: StackOverflow Answer Mine also needed zlib, so:
|
On a Mac, make sure that you have the commandline tools installed |
Hello, all
I met a snag as the following:
The version of Ruby installed is
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux-gnu]
Could anyone please tell me why and how to tackle it? Thanks very much.
The text was updated successfully, but these errors were encountered: