An error occurred while installing json (1.8.3), and Bundler cannot continue. on Ubuntu You are missing a libgmp-dev library. sudo apt-get install libgmp-dev