Sorry meant to say running with Ruby v2.0

On Thursday, 23 January 2014 14:29:11 UTC, Hesan Yousif wrote:
>
> Hi guys,
>
> I know this is covered in here: 
>
> https://github.com/puppetlabs/puppet/pull/1856
> https://projects.puppetlabs.com/issues/18205
> https://tickets.puppetlabs.com/browse/PUP-1384
>
> But I am still having trouble getting puppet to run the simplest command;
>
> sudo puppet resource group puppet ensure=present
>
> It looks like it's because of the wrong symlink as reported in the links 
> above OR something wrong with the fact that puppet is trying to run with 
> ruby v2.1.0 as the error returned by running the above is:
>
> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
>  
> `require': cannot load such file -- facter (LoadError)
> from 
> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
>  
> `require'
> from /Library/Ruby/Site/puppet.rb:6:in `<top (required)>'
> from 
> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
>  
> `require'
> from 
> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
>  
> `require'
> from /Library/Ruby/Site/puppet/util/command_line.rb:12:in `<top 
> (required)>'
> from 
> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
>  
> `require'
> from 
> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
>  
> `require'
> from /usr/bin/puppet:3:in `<main>'
>
> Current version of ruby is 2.0.0p247 and RVM is using system ruby.
>
> Can anyone shed light on what I need to do? Build from source? Download 
> earlier versions of puppet?
>
> Help please!
>
> Thanks in advance,
> Hesan
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9f6924b7-f825-4d4c-a97d-4dbe4930cdd3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to