Closed jrafanie closed 4 years ago
@mwrock Sorry for mentioning you directly but I want to make sure you saw this... I missed that this gem also needed this change... it's currently breaking on travis on master since winrm no longer pulls in erubis for this gem.
This is great. Thanks!
Adapted the change from: https://github.com/WinRb/WinRM/pull/300
This grabs prior context or local variables, builds a string which set these variables, and evalulates them in the context of the binding.
Note, this repo wasn't explicitly depending on erubis before but was trying to require it. I've also added erubi as a dependency so this gem can run standalone.
Fixes #28