Issue #18205 has been updated by Ben Ford.
I haven't tried. This was on my mbp, OSX 10.8.2 and the POSS 2.7.20 installer from our site. Others have had the problems though, as evidenced by the question posted on ask. On Wed, Dec 26, 2012 at 7:16 PM, <tick...@puppetlabs.com> wrote: > Issue #18205 has been updated by Gary Larizza. > > > I wasn’t able to reproduce this by installing Puppet version 2.7.20 or > 3.0.2 and Facter 1.6.16 using the Puppet provided packages at > http://downloads.puppetlabs.com/mac/ on 10.8.2 using my Macbook Pro. > > Note that this symlink should ALREADY exist: > > $ ls -la /usr/lib/ruby > lrwxr-xr-x 1 root wheel 76 Oct 14 10:35 /usr/lib/ruby -> > ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/ruby > > $ls -la /usr/lib/ruby/site_ruby > lrwxr-xr-x 1 root wheel 47 Oct 14 10:35 /usr/lib/ruby/site_ruby -> > ../../../../../../../../../../Library/Ruby/Site > > $ls -la /usr/lib/ruby/site_ruby/1.8 > total 32 > drwxr-xr-x 8 root wheel 272 Dec 26 19:12 . > drwxr-xr-x 3 root wheel 102 Oct 14 10:35 .. > drwxr-xr-x 58 root wheel 1972 Nov 30 16:41 facter > -rw-r--r-- 1 root wheel 5398 Nov 30 16:41 facter.rb > drwxr-xr-x 68 root wheel 2312 Nov 19 16:41 puppet > -rw-r--r-- 1 root wheel 2831 Nov 19 16:41 puppet.rb > -rw-r--r-- 1 root wheel 3929 Nov 19 16:41 semver.rb > drwxr-xr-x 2 root wheel 68 Jun 20 2012 universal-darwin12.0 > > I’m suspecting the symlinks were blown away somehow. Were you able to > reproduce this on another machine? > ------------------------------ > Bug #18205: Ruby libraries are broken under osx mountain > lion<https://projects.puppetlabs.com/issues/18205#change-79478> > > - 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:inrequire': > 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 > ---------------------------------------- Bug #18205: Ruby libraries are broken under osx mountain lion https://projects.puppetlabs.com/issues/18205#change-79609 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.