DEV Community

Erik Guzman
Erik Guzman

Posted on • Updated on

Stream 10/22/2019 - Upgrading Rails 6 is ...

Check Out the Stream @ https://twitch.tv/talk2megooseman

Today's stream theme was to upgrade all the things. Started by looking at updating Sidekiq but decided to do that off-stream since it's scary to do for me (lol). Then switch to the main task at hand, upgrade to Rails 6.

I identified some gems that I can remove but there is a couples gems that looks like that will give me trouble. Check the notes for more details!

Today Objective

  • [ ] What to call today's log
  • [x] Review last streams TODOs
  • [x] Continue figuring safest route to updates Sidekiq to v6
    • [x] Going to punt this work to later date
  • [x] Look into to upgrading to Rails 6

Notes

  • Came across the following warning in Visual Studio Code Visual Studio Code is unable to watch for file changes in this large workspace
  • Sidekiq upgrade to v6 is going to be a little more involved then I like for doing on stream since its an update to how sidekiq gets launched. I will feel more comfortable doing this off stream in case I break something
  • Upgrading to Rails 6
    • Offical guide on Rails site https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html
    • Going through removed a couple gems that weren't compatible and were of low value:
      • guard-rspec
      • guard-rubocop
      • rails-controller-testing
      • isolator
    • Gems that were version bumped so far:
      • rspec-rails
    • haml-rails gem might be an issue, moved to use just haml gem but getting the following error
      • NameError: undefined method content_tag for class ActionView::Helpers::InstanceTag
    • Identified the talk_like_a_pirate is not compatible with the active_support 6 so going to have to fork it and do a pull request to make it compatible

Shoutouts and Thanks

  • SudoKid
    • Thanks for the RAID!!!
  • mbcrump
    • Thanks for the 350 + 35 bits (cause the terminator promo)!!!!

Future action items

Top comments (0)