Build a Blog with Rails Part 18: How to Upgrade Ruby Versions in your Rails app
Vložit
- čas přidán 4. 04. 2023
- ► Check out gorails.com for Pro episodes and more!
► SaaS business template for Ruby on Rails with built-in features like Payments, Teams, and much more: jumpstartrails.com
► Ruby on Rails hosting with Hatchbox.io: hatchbox.io
► Learn how to add Stripe Payments (with SCA support!) with Ruby on Rails: courses.gorails.com/payments-... - Věda a technologie
Thanks! I just used this video as a reference to update to 3.3.0, here are a couple tips for others where I ran into hiccups:
If you get 'ruby-build: definition not found: 3.3.0' when you try to asdf install, then run 'asdf plugin update ruby'. The newest version should now be available.
If your ruby version stubbornly will not change after the asdf install completes, check the version specified in ~/.tool-versions. Keep in mind, your project may also have a local .tool-versions file that will supersede the global version specified in your home directory, it needs to be updated too.
Good advice! Thanks for sharing. 👍
I want to upgrade from ruby 2.6 to 3.2.
How I can achieve this?
Already have 3.2.2 but when 3.3.0 stable comes out I will definitely review this video again.
Thank you! 👍
Another library to update globally: htmlbeautifier, especially when you are using vscode (i know, you're not ;-) )
Every day it gets more tempting especially with things like Ruby LSP
When I try get Ruby with ASDF, searching in ASDF list all ruby not show the Ruby 3.2 version
Update the Ruby plugin.
@@GorailsTV but how to update?
I found out frum to be a very simple and efficient ruby manager for me.
ASDF allows us to also manage Node so it's nice to only use one tool.