[Rubygems-developers] ConfigMap issues
luislavena at gmail.com
Sun Dec 16 08:10:23 EST 2007
it seems that the new 'defaults' functionality is broken:
$ rake test
<"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
Just a thought.
A common mistake that people make when trying to design
something completely foolproof is to underestimate
the ingenuity of complete fools.
More information about the Rubygems-developers