Ruby 3.2 : Install2024/06/19 | 
| 
 Install Ruby.  | 
|
| [1] | Install Ruby 3.2 and try to run test script. | 
| 
 
root@dlp:~#  
root@dlp:~# apt -y install ruby3.2  ruby -v  ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [x86_64-linux-gnu] # verify to create test script 
root@dlp:~# cat > ruby_test.rb <<'EOF' 
msg = Class.send(:new, String);
mymsg = msg.send(:new, "Hello Ruby World !\n");
STDOUT.send(:write, mymsg)
EOF 
root@dlp:~# ruby ruby_test.rb  Hello Ruby World !  | 
| Sponsored Link | 
| 
 |