Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force 64bit powershell if using ruby32 on a 64bit os #265

Closed
jquick opened this issue Mar 12, 2018 · 0 comments
Closed

Force 64bit powershell if using ruby32 on a 64bit os #265

jquick opened this issue Mar 12, 2018 · 0 comments
Assignees

Comments

@jquick
Copy link
Contributor

jquick commented Mar 12, 2018

Description

This Fixes chef-boneyard/chef-dk#1317

The solution here is to force using the 64bit powershell from the 32bit ruby so we get the correct 64 bit registry.

Force using:
%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe
if RUBY_PLATFORM == "i386-mingw32" && os.arch == "x86_64"

@jquick jquick self-assigned this Mar 12, 2018
@jquick jquick changed the title Force 64bit platform if using ruby32 on a 64bit os Force 64bit powershell if using ruby32 on a 64bit os Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant