{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/4462","repository_url":"https://api.github.com/repos/bundler/bundler","labels_url":"https://api.github.com/repos/bundler/bundler/issues/4462/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/4462/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/4462/events","html_url":"https://github.com/bundler/bundler/issues/4462","id":150660811,"number":4462,"title":"Error installing bundle (on json-1.8.1)","user":{"login":"TrySpace","id":5586278,"avatar_url":"https://avatars.githubusercontent.com/u/5586278?v=3","gravatar_id":"","url":"https://api.github.com/users/TrySpace","html_url":"https://github.com/TrySpace","followers_url":"https://api.github.com/users/TrySpace/followers","following_url":"https://api.github.com/users/TrySpace/following{/other_user}","gists_url":"https://api.github.com/users/TrySpace/gists{/gist_id}","starred_url":"https://api.github.com/users/TrySpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrySpace/subscriptions","organizations_url":"https://api.github.com/users/TrySpace/orgs","repos_url":"https://api.github.com/users/TrySpace/repos","events_url":"https://api.github.com/users/TrySpace/events{/privacy}","received_events_url":"https://api.github.com/users/TrySpace/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-04-24T13:32:39Z","updated_at":"2017-01-10T00:05:38Z","closed_at":"2016-04-25T09:34:22Z","body":"Error installing:\n\n```\n\nsource 'https://rubygems.org'\n\ngem 'sass'\ngem 'compass'\ngem 'breakpoint'\ngem 'normalize-scss'\ngem 'susy'\ngem 'modular-scale'\ngem 'sass-css-importer'\ngem 'fontcustom'\ngem 'sassy-buttons'\n\n```\n\nError:\n\n```\nInstalling json 1.8.1 with native extensions\n\nGem::Ext::BuildError: ERROR: Failed to build gem native extension.\n\n    current directory: /tmp/bundler20160424-23674-gv57fcjson-1.8.1/gems/json-1.8.1/ext/json/ext/generator\n/usr/bin/ruby2.3 -r ./siteconf20160424-23674-lqbm3a.rb extconf.rb\ncreating Makefile\n\ncurrent directory: /tmp/bundler20160424-23674-gv57fcjson-1.8.1/gems/json-1.8.1/ext/json/ext/generator\nmake \"DESTDIR=\" clean\n\ncurrent directory: /tmp/bundler20160424-23674-gv57fcjson-1.8.1/gems/json-1.8.1/ext/json/ext/generator\nmake \"DESTDIR=\"\ncompiling generator.c\nIn file included from generator.c:1:0:\n../fbuffer/fbuffer.h: In function ‘fbuffer_to_s’:\n../fbuffer/fbuffer.h:175:47: error: macro \"rb_str_new\" requires 2 arguments, but only 1 given\n     VALUE result = rb_str_new(FBUFFER_PAIR(fb));\n                                               ^\n../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer without a cast [-Wint-conversion]\n     VALUE result = rb_str_new(FBUFFER_PAIR(fb));\n                    ^\nMakefile:239: recipe for target 'generator.o' failed\nmake: *** [generator.o] Error 1\n\nmake failed, exit code 2\n\nGem files will remain installed in /tmp/bundler20160424-23674-gv57fcjson-1.8.1/gems/json-1.8.1 for inspection.\nResults logged to /tmp/bundler20160424-23674-gv57fcjson-1.8.1/extensions/x86_64-linux/2.3.0/json-1.8.1/gem_make.out\nUsing thor 0.19.1\nUsing bundler 1.11.2\nUsing sassy-maps 0.4.0\nUsing compass-import-once 1.0.5\nUsing sass-css-importer 1.0.0.beta.0\nUsing susy 2.1.3\nUsing timers 4.0.1\nUsing compass-core 1.0.1\nUsing rb-inotify 0.9.5\nAn error occurred while installing json (1.8.1), and Bundler cannot continue.\nMake sure that `gem install json -v '1.8.1'` succeeds before bundling.\n```\n\nI've tried multiple reinstalls and suggested fixes. I tried: `gem install json -v '1.8.1'`, but errors:\n\n```\n\nBuilding native extensions.  This could take a while...\nERROR:  Error installing json:\n        ERROR: Failed to build gem native extension.\n\n    current directory: /var/lib/gems/2.3.0/gems/json-1.8.1/ext/json/ext/generator\n/usr/bin/ruby2.3 -r ./siteconf20160424-23735-m8xfge.rb extconf.rb\ncreating Makefile\n\ncurrent directory: /var/lib/gems/2.3.0/gems/json-1.8.1/ext/json/ext/generator\nmake \"DESTDIR=\" clean\n\ncurrent directory: /var/lib/gems/2.3.0/gems/json-1.8.1/ext/json/ext/generator\nmake \"DESTDIR=\"\ncompiling generator.c\nIn file included from generator.c:1:0:\n../fbuffer/fbuffer.h: In function ‘fbuffer_to_s’:\n../fbuffer/fbuffer.h:175:47: error: macro \"rb_str_new\" requires 2 arguments, but only 1 given\n     VALUE result = rb_str_new(FBUFFER_PAIR(fb));\n                                               ^\n../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer without a cast [-Wint-conversion]\n     VALUE result = rb_str_new(FBUFFER_PAIR(fb));\n                    ^\nMakefile:239: recipe for target 'generator.o' failed\nmake: *** [generator.o] Error 1\n\nmake failed, exit code 2\n\nGem files will remain installed in /var/lib/gems/2.3.0/gems/json-1.8.1 for inspection.\nResults logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/json-1.8.1/gem_make.out\n\n```\n"},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/271447438","html_url":"https://github.com/bundler/bundler/issues/4462#issuecomment-271447438","issue_url":"https://api.github.com/repos/bundler/bundler/issues/4462","id":271447438,"user":{"login":"jb61264","id":24978228,"avatar_url":"https://avatars.githubusercontent.com/u/24978228?v=3","gravatar_id":"","url":"https://api.github.com/users/jb61264","html_url":"https://github.com/jb61264","followers_url":"https://api.github.com/users/jb61264/followers","following_url":"https://api.github.com/users/jb61264/following{/other_user}","gists_url":"https://api.github.com/users/jb61264/gists{/gist_id}","starred_url":"https://api.github.com/users/jb61264/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jb61264/subscriptions","organizations_url":"https://api.github.com/users/jb61264/orgs","repos_url":"https://api.github.com/users/jb61264/repos","events_url":"https://api.github.com/users/jb61264/events{/privacy}","received_events_url":"https://api.github.com/users/jb61264/received_events","type":"User","site_admin":false},"created_at":"2017-01-10T00:05:38Z","updated_at":"2017-01-10T00:05:38Z","body":"Thanks hasanen, how does one install the older version? I first tried 1.9.3 and then 2.2.0 and 2.4.0 thinking that the new install just always overrode the previous...does the last installed version always just overwrite and become the one that is being use?"}}
{"actor":{"display_login":"jb61264"}}