roo to Learn Programming@programming.dev · 1 year agoInstalling Ruby 3.2message-squaremessage-square6fedilinkarrow-up14file-text
arrow-up14message-squareInstalling Ruby 3.2roo to Learn Programming@programming.dev · 1 year agomessage-square6fedilinkfile-text
minus-squarecarpolio@lemmy.fmhy.mllinkfedilinkarrow-up5·1 year agoIf 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.
minus-squarerooOPlinkfedilinkarrow-up1·1 year agoI 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?
minus-squarecarpolio@lemmy.fmhy.mllinkfedilinkarrow-up3·1 year agoIf 3.2 isn’t available you can install it from source using ruby-build. https://github.com/rbenv/ruby-build
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.
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?
If 3.2 isn’t available you can install it from source using ruby-build.
https://github.com/rbenv/ruby-build
Thanks! I’ll try this.
Welcome