roo to Learn Programming@programming.dev · 3年前Installing Ruby 3.2message-squaremessage-square6fedilinkarrow-up14file-text
arrow-up14message-squareInstalling Ruby 3.2roo to Learn Programming@programming.dev · 3年前message-square6fedilinkfile-text
minus-squarecarpolio@lemmy.fmhy.mllinkfedilinkarrow-up5·3年前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.
minus-squarerooOPlinkfedilinkarrow-up1·3年前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?
minus-squarecarpolio@lemmy.fmhy.mllinkfedilinkarrow-up3·3年前If 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