>
> I think you are running into https://projects.puppetlabs.com/issues/17010. 
> The win32-dir gem we are using to return the COMMON_APPDATA directory 
> returns a ruby string in UTF-16LE, which for some reason File.join does not 
> allow. It assumes it is always passed UTF-8 strings, or at least ASCII 
> compatible.
>

Maybe, there are some issuses about non-ASCII.
 

> To confirm this is the problem, try
>
>   require 'win32-dir'
>   File.join(Dir::COMMON_APPDATA, 'b')
>
> Where I must write this strings? 
 

> If you're on ruby 1.9, you could patch lib/puppet/util/run_mode.rb, line 
> 78, to read:
>
>    [Dir::COMMON_APPDATA.encode('UTF-8'), "PuppetLabs", "puppet"] + extra
>
> How to migrate from ruby 1.8 to 1.9 if I use official MSI-package?  I try 
unpack ruby ZIP into c:/program files/Puppet Labs/Puppet/sys/ruby/lib/ruby 
but it didn't work.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to