nathanpainchaud Thanks for your response. I must note that i have installed ruby v2.7, v2.6, v2.5, v2.4 but when i try to install v2.3 i face errors. i need to install 2.3 beacuase i am working on an old version of ruby on rails and it was developed with ruby v2.3.5.
Here is my rbenv output
`Downloading ruby-2.3.8.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2
Installing ruby-2.3.8...
WARNING: ruby-2.3.8 is past its end of life and is now unsupported.
It no longer receives bug fixes or critical security updates.
BUILD FAILED (Solus 4.1 using ruby-build 20200727-6-g21ecc7b)
Inspect or clean up the working tree at /tmp/ruby-build.20200819104639.25086.C8hjou
Results logged to /tmp/ruby-build.20200819104639.25086.log
Last 10 log lines:
linking shared-object pathname.so
make[2]: Leaving directory '/tmp/ruby-build.20200819104639.25086.C8hjou/ruby-2.3.8/ext/pathname'
linking shared-object bigdecimal.so
make[2]: Leaving directory '/tmp/ruby-build.20200819104639.25086.C8hjou/ruby-2.3.8/ext/bigdecimal'
linking shared-object nkf.so
make[2]: Leaving directory '/tmp/ruby-build.20200819104639.25086.C8hjou/ruby-2.3.8/ext/nkf'
linking shared-object date_core.so
make[2]: Leaving directory '/tmp/ruby-build.20200819104639.25086.C8hjou/ruby-2.3.8/ext/date'
make[1]: Leaving directory '/tmp/ruby-build.20200819104639.25086.C8hjou/ruby-2.3.8'
make: *** [uncommon.mk:203: build-ext] Error 2`
here is my log file mentioned in log above https://paste.ubuntu.ir/dqff