Created
April 24, 2013 18:24
-
-
Save dylansimpson/5454332 to your computer and use it in GitHub Desktop.
bundle failing to install json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/home/dylan/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb | |
creating Makefile | |
make | |
compiling generator.c | |
generator.c: In function ‘cState_aref’: | |
generator.c:632:5: warning: variable ‘state’ set but not used [-Wunused-but-set-variable] | |
generator.c: In function ‘isArrayOrObject’: | |
generator.c:867:5: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] | |
generator.c:863:10: warning: unused variable ‘c’ [-Wunused-variable] | |
linking shared-object json/ext/generator.so | |
make install | |
/usr/bin/install -c -m 0755 generator.so /home/dylan/.rvm/gems/ruby-2.0.0-p0/gems/json-1.6.6/ext/json/ext/json/ext | |
/usr/bin/install: cannot create regular file `/home/dylan/.rvm/gems/ruby-2.0.0-p0/gems/json-1.6.6/ext/json/ext/json/ext': No such file or directory | |
make: *** [install-so] Error 1 | |
Gem files will remain installed in /home/dylan/.rvm/gems/ruby-2.0.0-p0/gems/json-1.6.6 for inspection. | |
Results logged to /home/dylan/.rvm/gems/ruby-2.0.0-p0/gems/json-1.6.6/ext/json/ext/generator/gem_make.out | |
An error occurred while installing json (1.6.6), and Bundler cannot continue. | |
Make sure that `gem install json -v '1.6.6'` succeeds before bundling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From gem_make.out
/home/dylan/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
creating Makefile
make
compiling generator.c
generator.c: In function ‘cState_aref’:
generator.c:632:5: warning: variable ‘state’ set but not used [-Wunused-but-set-variable]
generator.c: In function ‘isArrayOrObject’:
generator.c:867:5: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
generator.c:863:10: warning: unused variable ‘c’ [-Wunused-variable]
linking shared-object json/ext/generator.so
make install
/usr/bin/install -c -m 0755 generator.so /home/dylan/.rvm/gems/ruby-2.0.0-p0/gems/json-1.6.6/ext/json/ext/json/ext
/usr/bin/install: cannot create regular file `/home/dylan/.rvm/gems/ruby-2.0.0-p0/gems/json-1.6.6/ext/json/ext/json/ext': No such file or directory
make: *** [install-so] Error 1