Created
October 3, 2013 16:20
-
-
Save petems/6812615 to your computer and use it in GitHub Desktop.
$PATH issues with rbenv and brew...
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
$ echo $PATH | |
/opt/boxen/homebrew/include/:/Users/peterso/perl5/perlbrew/bin:/Users/peterso/perl5/perlbrew/perls/perl-5.16.0/bin:bin:/opt/boxen/rbenv/shims:/opt/boxen/rbenv/bin:/opt/boxen/rbenv/plugins/ruby-build/bin:node_modules/.bin:/opt/boxen/nodenv/shims:/opt/boxen/nodenv/bin:/opt/boxen/bin:/opt/boxen/homebrew/bin:/opt/boxen/homebrew/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:bin:/opt/boxen/rbenv/shims:/opt/boxen/rbenv/bin:/opt/boxen/rbenv/plugins/ruby-build/bin:node_modules/.bin:/opt/boxen/nodenv/shims:/opt/boxen/nodenv/bin:/opt/boxen/bin:/opt/boxen/homebrew/bin:/opt/boxen/homebrew/sbin | |
$ ll /opt/boxen/homebrew/include/mpg123.h | |
lrwxr-xr-x 1 peterso staff 40 19 Jul 14:14 /opt/boxen/homebrew/include/mpg123.h -> ../Cellar/mpg123/1.15.4/include/mpg123.h | |
$ bundle install | |
Fetching gem metadata from https://rubygems.org/... | |
Installing audite (0.3.0) | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/opt/boxen/rbenv/versions/1.9.3-p448/bin/ruby extconf.rb | |
checking for mpg123.h... no | |
*** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of | |
necessary libraries and/or headers. Check the mkmf.log file for more | |
details. You may need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--without-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=. | |
--curdir | |
--ruby=/opt/boxen/rbenv/versions/1.9.3-p448/bin/ruby | |
please install mpg123 headers | |
Gem files will remain installed in /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/audite-0.3.0 for inspection. | |
Results logged to /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/audite-0.3.0/ext/mpg123/gem_make.out | |
An error occurred while installing audite (0.3.0), and Bundler cannot continue. | |
Make sure that `gem install audite -v '0.3.0'` succeeds before bundling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment