Skip to content

Instantly share code, notes, and snippets.

Created March 23, 2015 09:02
Show Gist options
  • Save anonymous/a837d5ac22486bb2a79a to your computer and use it in GitHub Desktop.
Save anonymous/a837d5ac22486bb2a79a to your computer and use it in GitHub Desktop.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/commdev/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150323-505-egrslh.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling generator.c
make: I.: Command not found
make: [generator.o] Error 127 (ignored)
linking shared-object json/ext/generator.so
make: shared: Command not found
make: [generator.so] Error 127 (ignored)
make "DESTDIR=" install
compiling generator.c
make: I.: Command not found
make: [generator.o] Error 127 (ignored)
linking shared-object json/ext/generator.so
make: shared: Command not found
make: [generator.so] Error 127 (ignored)
/usr/bin/install -c -m 0755 generator.so ./.gem.20150323-505-1kdi514/json/ext
/usr/bin/install: cannot stat `generator.so': No such file or directory
make: *** [install-so] Error 1
make install failed, exit code 2
Gem files will remain installed in /home/commdev/.rvm/gems/ruby-2.2.1/gems/json-1.8.2 for inspection.
Results logged to /home/commdev/.rvm/gems/ruby-2.2.1/extensions/x86_64-linux/2.2.0/json-1.8.2/gem_make.out
An error occurred while installing json (1.8.2), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.2'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment