Build a Blog with Rails Part 18: How to Upgrade Ruby Versions in your Rails app

Sdílet
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

Komentáře • 12

  • @NickGobin
    @NickGobin Před 3 měsíci +1

    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.

    • @GorailsTV
      @GorailsTV  Před 3 měsíci

      Good advice! Thanks for sharing. 👍

  • @DaljeetSingh-jm4sh
    @DaljeetSingh-jm4sh Před 8 měsíci +1

    I want to upgrade from ruby 2.6 to 3.2.
    How I can achieve this?

  • @olegmitnik9617
    @olegmitnik9617 Před 10 měsíci +1

    Already have 3.2.2 but when 3.3.0 stable comes out I will definitely review this video again.

  • @olegmitnik9617
    @olegmitnik9617 Před 10 měsíci

    Thank you! 👍

  • @stpaquet
    @stpaquet Před rokem +1

    Another library to update globally: htmlbeautifier, especially when you are using vscode (i know, you're not ;-) )

    • @GorailsTV
      @GorailsTV  Před rokem

      Every day it gets more tempting especially with things like Ruby LSP

  • @danimusbar
    @danimusbar Před rokem

    When I try get Ruby with ASDF, searching in ASDF list all ruby not show the Ruby 3.2 version

  • @stpaquet
    @stpaquet Před rokem

    I found out frum to be a very simple and efficient ruby manager for me.

    • @GorailsTV
      @GorailsTV  Před rokem +1

      ASDF allows us to also manage Node so it's nice to only use one tool.