I\'ve been googling this error below, but I can\'t solve this error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby2.1 ext
Had similar error on fedora when trying to install compass for SASS development
gem install compass
failed with
Building native extensions. This could take a while... ERROR: Error installing compass: ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h
Ran this
yum -y install gcc ruby-devel rubygems
and then was able to run the install again successfully.