Migrating my rails app from 3.2 to 4.0.0 and ruby 2.2.2 to 2.2.4
while doing bundle install am getting (An error occurred while installing debug_inspector (0.0.2), and B
/usr/bin/ld: cannot find -lgmp
means that it can't find the gmp library. Try running:
sudo apt-get install libgmp3-dev
Then bundle
.
/usr/bin/ld: cannot find -lgmp
You're missing the linux library gmp-devel
Also, https://github.com/CocoaPods/CocoaPods/issues/1727 indicates that the later issues might be down to bundler not being able to locate a version of gcc on your linux box.
You're missing build dependencies. Do the following:
$ sudo apt-get update
$ sudo apt-get install build-essential
Then run bundler again.