Sono in esecuzione bundle install
a Ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
(installato con RVM 1.25.33) e bundler 1.10.6
Impossibile installare JSON 1.8.3 in Ruby 2.2.1
Quando si tenta di installare JSON 1.8.3, ottengo il seguente:
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/andrew/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150905-31357-cgs3dn.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling generator.c
linking shared-object json/ext/generator.so
make "DESTDIR=" install
./install -m 0755 generator.so ./.gem.20150905-31357-199esvy/json/ext
make: ./install: Command not found
make: *** [install-so] Error 127
make install failed, exit code 2
Sullo stesso host, sono in grado di installare json 1.8.3 in ruby 2.1.3.
In another SO question Vedo il suggerimento per assicurarsi che sia disponibile install
. Ottengo uscita valida quando faccio install --help
.
Cosa devo fare? Perché la gemma è in grado di installare in 2.1.3 e non in 2.2.1?
Grazie! Ho trovato le risposte utili. Ho finito per fare semplicemente "bundle update json" – kangkyu