json-1.8.3 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.2.2/bin/ruby -r ./siteconf20150731-15743-prqh44.rb extconf.rb
Cannot allocate memory - /usr/local/rvm/rubies/ruby-2.2.2/bin/ruby -r ./siteconf20150731-15743-prqh44.rb extconf.rb 2>&1
Gem files will remain installed in /home/projects/individ/releases/20150730121841/vendor/bundle/ruby/2.2.0/gems/json-1.8.3 for inspection.
Results logged to /home/projects/individ/releases/20150730121841/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0/json-1.8.3/gem_make.out
An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that gem install json -v '1.8.3' succeeds before bundling.
I have the same issue. Am on Yosemite (Mac) and Ruby 2.2.2.
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
Thanks alaouy!
@alaouy Thanks.
thanks!!!
Good tip!
Hi i have the same problem on mac osx10.10 please someone can help , i search solution but i dont see nothing
Thanks a lot!
thanks @alaouy :+1:
thanks!
Thanks @alaouy, God bless you man!
Hi,
I have the same exact problem in Windows7. Any help would be greatly appreciated!
Thanks in advance!
thanks @alaouy :+1:
thanks!
Thank you!!
Thank you.
Great
Thanks you too!
Thank you @alaouy !
Thank you @alaouy ! That was really helpful. No other solution online worked!