We are using the ruby installer from the Puppet windows page:

http://rubyforge.org/frs/download.php/74293/rubyinstaller-1.8.7-p334.exe

http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows

Here are the command you wanted me to run:


C:\Ruby187\bin>ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]

C:\Ruby187\bin>ruby -e "require 'puppet'; puts Puppet[:daemonize]"
false

C:\Ruby187\bin>ruby -e "require 'puppet'; puts
Puppet.features.microsoft_windows?"
true



Thanks,
Igor



On Feb 27, 6:26 pm, Josh Cooper <j...@puppetlabs.com> wrote:
> Hi Igor,
>
> Are you using the ruby interpreter from rubyinstaller.org? Or cygwin?
>
> On Mon, Feb 27, 2012 at 1:43 PM, Igor <icher...@gmail.com> wrote:
> > Here you go:
>
> > Mon Feb 27 13:41:20 -0800 2012 Puppet (notice): Starting Puppet client
> > version 2.7.11
> > Mon Feb 27 13:41:20 -0800 2012 Puppet (err): Could not run: fork()
> > function is unimplemented on this machine
> > Mon Feb 27 13:41:20 -0800 2012 Puppet (err): c:/Ruby187/bin/c:/Ruby187/
> > lib/ruby/site_ruby/1.8/puppet/agent.rb
>
> c:/Ruby187/bin/c:/Ruby187/lib/ruby/site_ruby/1.8/puppet/agent.rb
>
> > c:/Ruby187/bin/c:/Ruby187/lib/ruby/site_ruby/1.8/puppet/agent.rb
> > c:/Ruby187/bin/c:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb
> > c:/Ruby187/bin/c:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb
>
> Something is wrong here. The path should be
> c:/Ruby187/lib/ruby/site_ruby/1.8/puppet/agent.rb. Also, the backtrace
> normally contains line numbers. How did you install ruby and puppet?
>
> Can you run the following:
>
> cd c:\Ruby187\bin
> ruby -v
> ruby -e "require 'puppet'; puts Puppet[:daemonize]"
> ruby -e "require 'puppet'; puts Puppet.features.microsoft_windows?"
>
> Thanks,
> Josh
>
> --
> Josh Cooper
> Developer, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to