[Rubygems-developers] what environment is required for extconf.rb to work?

Eric Hodel drbrain at segment7.net
Thu Apr 10 16:47:37 EDT 2008


On Apr 8, 2008, at 03:04 AM, Chad Woolley wrote:
> I am having failures when building compiled gems as part of a
> cruise.rb builder process.  Errors look like this:
>
>  ERROR: Failed to build gem native extension. /usr/local/bin/ruby  
> extconf.rb
>
> When I run extconf manually, though, it works.  I suspect this is due
> to cruise not passing along some required environment info.
>
> Any idea what this might be, or how I can get more debugging info?

Does the cruise.rb run as a daemon with a restricted environment?  My  
best guess is that it may depend on some LD_* environment variables  
that don't get set/are removed when run through cruiser.rb.


More information about the Rubygems-developers mailing list