Last active
April 21, 2023 19:40
-
-
Save johngerome/133b127c9f8545dccc54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
ERROR: Error installing compass: | |
ERROR: Failed to build gem native extension. | |
current directory: /var/lib/gems/2.1.0/gems/ffi-1.9.10/ext/ffi_c | |
/usr/bin/ruby2.1 -r ./siteconf20151118-18985-1l1bsx7.rb extconf.rb | |
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h | |
extconf failed, exit code 1 | |
Gem files will remain installed in /var/lib/gems/2.1.0/gems/ffi-1.9.10 for inspection. | |
Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/ffi-1.9.10/gem_make.out | |
``` | |
To Fix | |
`sudo apt-get install ruby2.1-dev` for 2.1. |
Even better:
sudo apt-get install ruby ruby-all-dev
after hours of searching THIS WORKED TYSM can't believe this thread is like almost 10 years old. looks like it wont be fixed, hello future people in pain - april 2023
Thank you very much
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks it works for me