Skip to content

Instantly share code, notes, and snippets.

@baroquon
Created July 7, 2014 20:06
Show Gist options
  • Save baroquon/88ed092f24ba9992e208 to your computer and use it in GitHub Desktop.
Save baroquon/88ed092f24ba9992e208 to your computer and use it in GitHub Desktop.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/opt/rubies/ruby-2.1.1/bin/ruby extconf.rb
/opt/rubies/ruby-2.1.1/bin/ruby: invalid switch in RUBYOPT: -p (RuntimeError)
extconf failed, exit code 1
Gem files will remain installed in /var/lib/jenkins/workspace/shipperprofile.shipt.com pull requests/.bundle/bundle/ruby/2.1.0/gems/debug_inspector-0.0.2 for inspection.
Results logged to /var/lib/jenkins/workspace/shipperprofile.shipt.com pull requests/.bundle/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/debug_inspector-0.0.2/gem_make.out
An error occurred while installing debug_inspector (0.0.2), and Bundler cannot
continue.
Make sure that `gem install debug_inspector -v '0.0.2'` succeeds before
bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment