Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/thread-self/root/usr/local/rvm/src/rvm/patches/ruby/1.9.1/p431/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/root/usr/local/rvm/src/rvm/patches/ruby/1.9.1/p431/backport-2404.patch
Index: gem_prelude.rb
===================================================================
--- a/gem_prelude.rb	(revision 25926)
+++ b/gem_prelude.rb	(working copy)
@@ -67,7 +67,7 @@
 
     def self.set_home(home)
       home = home.gsub File::ALT_SEPARATOR, File::SEPARATOR if File::ALT_SEPARATOR
-      @gem_home = home.force_encoding(Encoding.find('filesystem'))
+      @gem_home = home.dup.force_encoding(Encoding.find('filesystem'))
     end
 
     def self.set_paths(gpaths)

Hry