Issue #12913 has been updated by Jeff McCune.

Status changed from Accepted to Closed

# Done! #

Nothing to merge, just needed to update the ruby.zip file and re-publish it.

Just to record how to update the ruby.zip file that gets staged and packaged 
into the MSI...

Luckily it's pretty easy.

# Overview #

1. `rake clean` (In a puppetwinbuilder shell)
2. `rake windows:stage`
3. Clear your environment to windows default.  (Start a fresh cmd.exe)
4. `cd \path\to\puppet_for_the_win`
5. `cd stagedir\bin`
6. `environment.bat`
7. `ruby -e 'puts $LOAD_PATH'` (Prove to yourself you have the correct runtime)
8. `gem uninstall win32-taskscheduler`
9. `gem install win32-taskscheduler`
10. Switch back to your `puppetwinbuilder` shell.
11. `rake windows:repack`
12. `rake windows:upload`

----------------------------------------
Bug #12913: Update win32-taskscheduler gem to 0.2.2
https://projects.puppetlabs.com/issues/12913#change-56030

Author: Josh Cooper
Status: Closed
Priority: Normal
Assignee: Jeff McCune
Category: windows
Target version: 2.7.x
Affected Puppet version: 
Keywords: 
Branch: 


Previously, the taskscheduler gem was including windows modules in the top 
scope, which resulted in methods getting added to Object instead of 
Windows::TaskScheduler. The patch I submitted upstream has been merged: 
<https://github.com/djberg96/win32-taskscheduler/pull/3#issuecomment-4243629> 
We should include this version in the rubygems we bundle in the MSI



-- 
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.

Reply via email to