Issue #10799 has been updated by Scott Muc.
<pre>
C:\opt\puppet\puppetlabs-puppet-d3791a4>irb
irb(main):001:0> require "rbconfig"
=> true
irb(main):002:0> Config
=> Config
irb(main):003:0> Config:CONFIG['bindir']
NoMethodError: undefined method `[]' for :CONFIG:Symbol
from (irb):3
irb(main):004:0> Config::CONFIG['bindir']
=> "C:/opt/yari/ruby-1.8.7-p334-i386-mingw32/bin"
irb(main):005:0> Config::CONFIG['ruby_install_name']
=> "ruby"
</pre>
----------------------------------------
Bug #10799: Malformed puppet.bat when ruby path contains "." and "-"
https://projects.puppetlabs.com/issues/10799
Author: Scott Muc
Status: Investigating
Priority: Normal
Assignee:
Category: windows
Target version:
Affected Puppet version: 2.7.6
Keywords: installation
Branch:
This was tested on a blank Windows 2008 R2 VM. Nothing has been setup on it at
all. I installed ruby using a pet project of mine:
https://github.com/scottmuc/yari
The path to ruby it setup for me is: C:\opt\yari\ruby-1.8.7-p334-i386-mingw32
I've attached the broken puppet.bat that was created for me and attached the
new puppet.bat I made by removing the slashes. The contents of these files were
copy+pasted from notepad.exe in the VM to VIM on my workstation so I don't know
if any line endings or white space got augmented during this process.
My verification that puppet.bat works is that I was able to run `puppet config
print all` on the server and it printed the config as expected.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.