This repository is for trying new feature about 'ruby-3.1.0-preview1'.
wget https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.0-preview1.tar.gz
tar -zxvf ruby-3.1.0-preview1.tar.gz # untar
https://www.ruby-lang.org/ja/documentation/installation/
cd ruby-3.1.0-preview1
./configure --prefix="`pwd | xargs dirname`/installed_files"
make
sudo make install
cd ../
installed_files/bin/ruby main.rb