Hi Jos,

Thanks for reporting this issue. It's a known issue that was the result of
a packaging error in building the gem. The 3.0.0-rc6 gem was pulled when it
was discovered, and it will be fixed with the next 3.0 gem release.

Thanks,
Moses



On Sep 20, 2012, at 5:34 PM, Jos Backus <[email protected]> wrote:

Hi,

Thanks for supporting us folks who want to move to Ruby 1.9.3!

After a `gem install' of https://rubygems.org/downloads/puppet-3.0.0.rc6.gem,
I am seeing:

# puppet
/usr/lib64/ruby/1.9.1/rubygems/specification.rb:859:in `join': can't
convert nil into String (TypeError)
    from /usr/lib64/ruby/1.9.1/rubygems/specification.rb:859:in `block in
add_self_to_load_path'
    from /usr/lib64/ruby/1.9.1/rubygems/specification.rb:858:in `map'
    from /usr/lib64/ruby/1.9.1/rubygems/specification.rb:858:in
`add_self_to_load_path'
    from /usr/lib64/ruby/1.9.1/rubygems/specification.rb:751:in `activate'
    from /usr/lib64/ruby/1.9.1/rubygems.rb:1232:in `gem'
    from /usr/bin/puppet:22:in `<main>'
#

This is because the installed gemspec,
/usr/lib64/ruby/gems/1.9.1/specifications/puppet-3.0.0.rc6.gemspec, has the
following line:

  s.require_paths = [nil]

instead of the expected:

  s.require_paths = ['lib']

With the suggested change, the `puppet' command works as expected.

When I unpack the gem and look at the metadata file, I see the following
entry in the YAML data:

require_paths:
-

Presumably this needs to be:

require_paths:
- lib

Hth,
Jos

-- 
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-dev/-/JbjHzAb5h74J.
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-dev?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to