opscode-cookbooks/homebrew — pull request #28 by nertzy (2014-05-12 19:28:08+00:00)
Title: Call brew without RUBYOPT environment variable

If you run chef via `bundle exec` from a project that uses a non-system version of ruby, then you can run into an issue where bundler gets loaded against the system ruby that brew uses.

This causes problems when, for example, you have code in your Gemfile that doesn't work in Ruby 1.8 and you are running OS X Snow Leopard which uses Ruby 1.8 as its system ruby.