Skip to content

Instantly share code, notes, and snippets.

@brentluna
Last active April 13, 2016 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brentluna/0debc6908cfcb747f130f164e7f48dc8 to your computer and use it in GitHub Desktop.
Save brentluna/0debc6908cfcb747f130f164e7f48dc8 to your computer and use it in GitHub Desktop.
Using bundler 1.11.2
Installing byebug 5.0.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/brent/.gem/ruby/gems/byebug-5.0.0/ext/byebug
/usr/bin/ruby -r ./siteconf20160412-20620-1n6lkes.rb extconf.rb
creating Makefile
current directory: /home/brent/.gem/ruby/gems/byebug-5.0.0/ext/byebug
make "DESTDIR=" clean
rm -f
rm -f byebug.so *.o *.bak mkmf.log .*.time
current directory: /home/brent/.gem/ruby/gems/byebug-5.0.0/ext/byebug
make "DESTDIR="
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -mtune=generic -fPIC -Wall -Werror -m64 -o context.o -c context.c
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
Makefile:239: recipe for target 'context.o' failed
make: *** [context.o] Error 1
make failed, exit code 2
Gem files will remain installed in /home/brent/.gem/ruby/gems/byebug-5.0.0 for inspection.
Results logged to /home/brent/.gem/ruby/extensions/x86_64-linux/2.3.0/byebug-5.0.0/gem_make.out
Using rspec-core 3.2.3
Using rspec-expectations 3.2.1
Using rspec-mocks 3.2.1
An error occurred while installing byebug (5.0.0), and Bundler cannot continue.
Make sure that `gem install byebug -v '5.0.0'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment