Issue #18205 has been reported by Ben Ford.

----------------------------------------
Bug #18205: Ruby libraries are broken under osx mountain lion
https://projects.puppetlabs.com/issues/18205

Author: Ben Ford
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.20
Keywords: 
Branch: 


See 
https://ask.puppetlabs.com/question/67/unable-to-run-puppet-on-osx-mountain-lion/

Puppet opensource cannot require libraries because the rubylib has apparently 
changed. Any puppet scripts exit with:
`/usr/bin/puppet:3:in `require': no such file to load -- 
puppet/util/command_line (LoadError)
from /usr/bin/puppet:3`

As a hacky workaround, I made symlinks, like

    sudo ln -s /usr/lib/ruby/site_ruby/1.8/puppet 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/site_ruby/1.8/puppet
    sudo ln -s /usr/lib/ruby/site_ruby/1.8/puppet.rb 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/site_ruby/1.8/puppet.rb
    sudo ln -s /usr/lib/ruby/site_ruby/1.8/semver.rb 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/site_ruby/1.8/semver.rb





-- 
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://projects.puppetlabs.com/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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to