Skip to content

Instantly share code, notes, and snippets.

Created June 14, 2016 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a705dd0f08879493f0856b3ffbd63382 to your computer and use it in GitHub Desktop.
Save anonymous/a705dd0f08879493f0856b3ffbd63382 to your computer and use it in GitHub Desktop.
(trusty)romistrub@localhost:~/framework$ sudo gem install mysql2Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.3.0/gems/mysql2-0.4.4/ext/mysql2
/usr/bin/ruby2.3 -r ./siteconf20160614-30811-1rwixhw.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.3.0/gems/mysql2-0.4.4 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/mysql2-0.4.4/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment