No longer create registry keys under Software\RubyInstaller\MRI\.Fix irb hook in ruby-3.1, which re-encodes.They kept the old ruby version previously. Update the start menu entry with the newly installed ruby version.Run the ruby command prompt in the start menu with ridk enable.Fix start menu entry for rubygems-server and irb.Update the bundled MSYS2 keyring package.Update to ruby-3.1.3, see release notes. ridk use Add options to store the change permanently in the user or system environment variables.Using an install path under C:/ previously inherited write permissions for everyone, which compromised security in a multi user environment. Restrict write permissions to the installing user.įor several reasons we use C:/RubyXXX direcory by default but not C:/Program Files (see: oneclick/rubyinstaller#135 ).This has several implications on the Ruby API and disables support for legacy crypto algorithms. Avoid UNICODE characters in TMP env var to work around issues of gcc.Check or add a system wide gemrc file at every rubygems load to prevent hijacking by another user.This is needed for a machine wide installation. Set proper permissions of MSYS /tmp directory, so that every user can create and use files, but not read or change files of other users.Without this permission an admin had to use the takeown command to regain write access to a per-user installation. Add full administrator access to the install directory.List machine wide rubies in addition to per-user rubies at ridk use.Enable automatic private gem installation in user's home on a machine wide ruby setup, if the user doesn't have write access.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |