[Rubygems-developers] ConfigMap issues
drbrain at segment7.net
Mon Dec 17 17:03:08 EST 2007
On Dec 16, 2007, at 05:10 AM, Luis Lavena wrote:
> Hey List,
> it seems that the new 'defaults' functionality is broken:
> $ rake test
> 1) Failure:
> test_self_default_exec_format(TestGem) [./test/test_gem.rb:123]:
> <"j%s"> expected but was
> This is testing Jruby default_exec_format, but its failing.
> The test is overwriting Config::CONFIG based values for BASERUBY and
> RUBY_INSTALL_NAME, but those are ignored by Gem.default_exec_format
> since it's using ConfigMap (which was already initialized with the
> values form RbConfig).
> Conclusion: it has no effect.
> Since rbconfig is already 'required' by Gem, should defaults be using
> it all the time? or should be a better "reload!" functionality for it?
> (or in any case, overwrite them instead of RbConfig for the indicated
Fixed. I'm filling in ConfigMap correctly now.
More information about the Rubygems-developers