roo to Learn Programming@programming.dev · vor 3 JahrenInstalling Ruby 3.2message-squaremessage-square6fedilinkarrow-up14file-text
arrow-up14message-squareInstalling Ruby 3.2roo to Learn Programming@programming.dev · vor 3 Jahrenmessage-square6fedilinkfile-text
minus-squarecarpolio@lemmy.fmhy.mllinkfedilinkarrow-up5·vor 3 JahrenIf 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·vor 3 JahrenI 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·vor 3 JahrenIf 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