this post was submitted on 28 Jun 2023
3 points (80.0% liked)

Learn Programming

1624 readers
1 users here now

Posting Etiquette

  1. Ask the main part of your question in the title. This should be concise but informative.

  2. Provide everything up front. Don't make people fish for more details in the comments. Provide background information and examples.

  3. Be present for follow up questions. Don't ask for help and run away. Stick around to answer questions and provide more details.

  4. Ask about the problem you're trying to solve. Don't focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

How do I upgrade to Ruby 3.2, when any system I use will only upgrade to Ruby 3.0 something?

all 6 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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?

[–] [email protected] 3 points 1 year ago (1 children)

If 3.2 isn't available you can install it from source using ruby-build.

https://github.com/rbenv/ruby-build

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago