I'm working on automating of OS X vmware build using Puppet.
The trouble is that although 'augeas' gets installed by Homebrew just fine, the 'ruby-augeas' gem fails with an error "extconf.rb:27:in `<main>': augeas-devel not installed (RuntimeError)":
# gem install --verbose --no-ri --no-rdoc ruby-augeas
302 Moved Temporarily
304 Not Modified
302 Moved Temporarily
200 OK
Installing gem ruby-augeas-0.5.0
Downloading gem ruby-augeas-0.5.0.gem
302 Moved Temporarily
Fetching: ruby-augeas-0.5.0.gem (100%)
200 OK
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/Rakefile
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/COPYING
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/README.rdoc
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/NEWS
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/ext/augeas/_augeas.c
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/ext/augeas/_augeas.h
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/lib/augeas.rb
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/ext/augeas/extconf.rb
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/root/etc/group
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/root/etc/hosts
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/root/etc/inittab
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/root/etc/ssh/sshd_config
/Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/tc_augeas.rb
Building native extensions. This could take a while...
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
*** 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=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
--with-augeas-config
--without-augeas-config
--with-pkg-config
--without-pkg-config
extconf.rb:27:in `<main>': augeas-devel not installed (RuntimeError)
ERROR: Error installing ruby-augeas:
ERROR: Failed to build gem native extension.
Building has failed. See above output for more information on the failure.
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/ext/augeas/gem_make.out