Hey I am new to rails (as well as linux) and I keep getting this error:
Installing json (1.7.5) with native extensions Gem::Installer::ExtensionBuildError:
Installing the ruby1.9.1-dev package should fix this for you
sudo apt-get install ruby1.9.1-dev
"The same issue on ubuntu-trusty-64 running ruby 2.2.3. the solution is to install libgmp3-dev."
sudo apt-get install libgmp3-dev