This was to strip the bundler envvars the subprocess picks up from omnibus
when i ran with bundle exec. It was causing ruby to build incorrectly. I
don't recall the exact error any longer. If the system isn't run with
bundler, it may work fine.


On Sun, Apr 28, 2013 at 12:36 AM, Seth Chisamore
<notifications@github.com>wrote:

> In config/software/ruby.rb:
>
> >             "--disable-install-doc"].join(" "), :env => env
> > -  command "make -j #{max_build_jobs}", :env => env
> > -  command "make install", :env => env
> > +  command "env - #{env.map{|k,v| k=[k,"'#{v}'"].join("=")}.join(" ")} PATH=$PATH make -j #{max_build_jobs}", :env => env
> > +  command "env - #{env.map{|k,v| k=[k,"'#{v}'"].join("=")}.join(" ")} PATH=$PATH make install", :env => env
>
> @jssjr <https://github.com/jssjr> @petecheslock<https://github.com/petecheslock>could you guys explain these changes more? the proper environment
> *should* be picked up through the :env option.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/opscode/omnibus-software/pull/18/files#r3990754>
> .
>