c/learn_programming · by roo@lemmy.one · 3yInstalling Ruby 3.2 How do I upgrade to Ruby 3.2, when any system I use will only upgrade to Ruby 3.0 something? 4 points · 6 comments · view on lemmy.world
6 Comments
carpolio@lemmy.fmhy.ml · 5 pts · 3y
If you are using some flavor of linux, you should look into rbenv, chruby or RVM. Any of those will let you install versions other than what is available in the system repos. Personally I use rbenv.
roo@lemmy.one · 1 pts · 3y
I used that to install 1.8 in a directory for a project, but I still couldn't get it to find 3.2. Is it available now?
carpolio@lemmy.fmhy.ml · 3 pts · 3y
If 3.2 isn't available you can install it from source using ruby-build.
https://github.com/rbenv/ruby-build
roo@lemmy.one · 1 pts · 3y
Thanks! I'll try this.
carpolio@lemmy.fmhy.ml · 1 pts · 3y
Welcome
balder1993@programming.dev · 1 pts · 3y