On 12/22/2009 12:32 AM, Jeroen van Meeuwen wrote:
Hi guys,
after FUDCon, and then some more thoughts in private email and between
my ears, I think I might have the bare bones for a plan to attack the
Ruby challenge;
Continuing on this topic, primarily for ruby-1.9.1, I'm at a stage where:
# gem install facter
installs facter to /usr/local/share/ruby/gems/facter-<version>, along
with the facter.gemspec in /usr/local/share/ruby/specifications/ and so
forth, but facter itself won't work.
Attached is an strace where you can recognize the gross inefficiency of
Ruby searching through all kinds of paths looking for facter.
I'm interested to know how you guys think we might solve this problem.
-- Jeroen
==
# /usr/local/share/ruby/gems/facter-1.5.7/bin/facter
/usr/local/share/ruby/gems/facter-1.5.7/bin/facter:50:in `require': no
such file to load -- facter (LoadError)
from /usr/local/share/ruby/gems/facter-1.5.7/bin/facter:50:in `<main>'