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

32 and 64 bit installations using the same registry section #242

Closed
hurricup opened this issue Aug 2, 2021 · 3 comments
Closed

32 and 64 bit installations using the same registry section #242

hurricup opened this issue Aug 2, 2021 · 3 comments

Comments

@hurricup
Copy link

hurricup commented Aug 2, 2021

What problems are you experiencing?

Only one registry entry may present when 32 and 64 bit rubies are installed

Steps to reproduce

  1. Install ruby 2.7 64 bit.
  2. Ensure data is correct at HKEY_CURRENT_USER\SOFTWARE\RubyInstaller\MRI\2.7.4
  3. Install same ruby version 32 bit
  4. Ensure that data was overwritten with 32-bit installation information.
@mohits
Copy link
Collaborator

mohits commented Aug 2, 2021

Hi @hurricup - do you imagine that the problem is when we try to uninstall the package, or something else? In general, I have found that Ruby works fine as long as the Ruby you want to use is ahead in the PATH on WIndows, but I'm not sure if the registry entries have any specific role. I don't use the 32-bit Ruby on my side, but I'm quite sure that your observation must be correct.

@hurricup
Copy link
Author

hurricup commented Aug 2, 2021

In my personal case we use registry to enumerate rubies installed on our CI machine.
But still this feels not right, make this registy entry kinda meaningless.
But yes, I'm not aware if this affects anything else.

@mohits
Copy link
Collaborator

mohits commented Aug 3, 2021

Thanks for the reply. Hopefully, someone else has an opinion on whether that could be changed.

As for multiple Rubies, on Windows, I use pik which stores a file in the user profile folder for the Rubies that you have identified to it. In case you're not familiar with pik, I have a related post here: https://notepad.onghu.com/2021/ruby3-windows-pik-multiple-installations/

@oneclick oneclick deleted a comment from rubyorails Oct 3, 2021
@oneclick oneclick deleted a comment from rubyorails Oct 3, 2021
@oneclick oneclick deleted a comment from rubyorails Oct 3, 2021
larskanis added a commit that referenced this issue Nov 26, 2022
They were misleading to some users and they were of less use, since they used the same registry entries for 32 and 64 bit.

See #242
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

2 participants