Issue #2305 has been updated by Pablo Castellazzi. Status changed from Duplicate to Re-opened
This has nothing to do with my ruby/gem setup. The specification for the facter gem is wrong, or at least it is incompatible with rubygems 1.3.3. The patch i posted fix this issue. ---------------------------------------- Bug #2305: facter executable is not working http://projects.reductivelabs.com/issues/2305 Author: Pablo Castellazzi Status: Re-opened Priority: Urgent Assigned to: Category: Target version: Complexity: Unknown Keywords: running <pre>/usr/bin/facter</pre>fail with: <pre> /usr/local/lib/site_ruby/1.8/rubygems.rb:383:in `bin_path': can't find executable facter for facter-1.5.5 (Gem::Exception) from /usr/bin/facter:19 </pre> running: <pre>ruby -rubygems /usr/lib/ruby/gems/1.8/gems/facter-1.5.5/bin/facter</pre> work as expected. As far i can see there is no executables declared in the gem spec. Here is a small fix for it: <pre> --- Rakefile.old 2009-05-27 18:02:59.564505233 -0300 +++ Rakefile 2009-05-27 18:01:32.769514813 -0300 @@ -21,6 +21,7 @@ spec = Gem::Specification.new do |spec| spec.platform = Gem::Platform::RUBY spec.name = 'facter' spec.files = FILES.to_a + spec.executables = %w{facter} spec.version = Facter::FACTERVERSION spec.summary = 'Facter, a system inventory tool' spec.author = 'Reductive Labs' </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
