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
- Recommended solution for this was linked in the warning: https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
- 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 justhaml
gem but getting the following error- NameError: undefined method
content_tag
for class ActionView::Helpers::InstanceTag
- NameError: undefined method
- Identified the
talk_like_a_pirate
is not compatible with theactive_support
6 so going to have to fork it and do a pull request to make it compatible- Forked the repo and created a pull request to update dependencies with tests https://github.com/stevehodges/talk_like_a_pirate/pull/6
Shoutouts and Thanks
- SudoKid
- Thanks for the RAID!!!
- mbcrump
- Thanks for the 350 + 35 bits (cause the terminator promo)!!!!
Future action items
- [ ] Continue upgrading to Rails 6. There were some gems that still need to work through to ensure everything still works
- [ ] Keep on eye on this pull request: https://github.com/stevehodges/talk_like_a_pirate/pull/6
Top comments (0)