WebJul 20, 2015 · As you can see in the error, we're missing header files for Ruby. Although this might look a bit scary, it's easily fixable by installing the ruby-dev package. Apart from the header files, we will need the build packages (called build-base) for Alpine Linux, so we can compile the build the gems in our image. WebFeb 12, 2015 · Fixing the "mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h" error on CentOS Last Updated: Feb 12, 2015 I was trying to install compass on one of my VMs the other day and I ran into this error: [vagrant@unknown080027e8e390 public]$ sudo gem install compass Building native extensions. This could take a while...
ruby/mkmf.rb at master · ruby/ruby · GitHub
Web/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h Environment. Red Hat Enterprise Linux 6; Red Hat Enterprise … WebIt isn't necessary to pollute the system directories by installing the old header files as suggested in other answers. Instead, by selecting that SDK, the appropriate ruby2.3 … boffin iii bricks
Where are ruby-devel packages? - Red Hat Customer Portal
WebFeb 2, 2024 · mkmf.rb can’t find header files for ruby at /usr/lib/ruby/include/ruby.h. Gem files will remain installed in /var/lib/gems/2.1.0/gems/RedCloth-4.3.1 for inspection. An … Web/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h Environment. Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Subscriber exclusive content. A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more. WebJul 8, 2024 · Error while installing json gem 'mkmf.rb can't find header files for ruby' jsonrubyrubygems 289,411 Solution 1 Modern era update, as stated by mimoralea: In case that you are using ruby 2.0 or 2.2 (thanks @patrick-davey). sudo apt-get install ruby2.0-dev sudo apt-get install ruby2.2-dev sudo apt-get install ruby2.3-dev or, generic way: boffin iii