ruby - Bundler halts on json install, even though there's no json in Gemfile -


project bundle stopping error on json installation. i'm not asking json in gemfile. current ruby in rvm 1.9.2-p290, strict.

have no idea workaround this. helps, maybe?

 installing json (1.7.7)   gem::installer::extensionbuilderror: error: failed build gem native extension.          /system/library/frameworks/ruby.framework/versions/1.8/usr/bin/ruby extconf.rb   creating makefile   make  xcrun cc -i. -     i/system/library/frameworks/ruby.framework/versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0 -i/system/library/frameworks/ruby.framework/versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0 -i. -djson_generator  -d_xopen_source -d_darwin_c_source   -fno-common -arch i386 -arch x86_64 -g -o3 -pipe -fno-common -denable_dtrace  -fno-common  -pipe -fno-common   -c generator.c  xcrun: error: not stat active xcode path '/developer'. (no such file or directory)  cc -arch i386 -arch x86_64 -pipe -bundle -undefined dynamic_lookup -o generator.bundle generator.o -l. -l/system/library/frameworks/ruby.framework/versions/1.8/usr/lib -l. -arch i386 -arch x86_64     -lruby  -lpthread -ldl -lobjc    i686-apple-darwin11-llvm-gcc-4.2: generator.o: no such file or directory  i686-apple-darwin11-llvm-gcc-4.2: generator.o: no such file or directory  lipo: can't figure out architecture type of:     /var/folders/ft/gswz6cs52wb9jh_v5h2yt5_h0000gn/t//ccvgnawc.out  make: *** [generator.bundle] error 1    gem files remain installed in /users/noalvaro/.rvm/gems/ruby-1.9.2-p290@heroku_project/gems/json-1.7.7 inspection.  results logged /users/noalvaro/.rvm/gems/ruby-1.9.2-p290@heroku_project/gems/json-1.7.7/ext/json/ext/generator/gem_make.out   error occurred while installing json (1.7.7), , bundler cannot continue.  make sure `gem install json -v '1.7.7'` succeeds before bundling. 

any help, anything, appreciated. :)

even if don't explicitly list json dependency, other gems using may this. result, bundler include in bundled list.

to check library using json can inspect gemfile.lock file or use bundle viz draw dependency tree.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -