I just had a little challange updating the sqlite3
gem in one of my hobby projects. I like keeping small projects up to date. It really pays off, like they take you to do conference talks later on. So here’s a memory:
# Gemfile
gem 'sqlite3', '~> 2.0', force_ruby_platform: true
> brew install pkg-config
> brew upgrade sqlite3 # version ~> 3.46.0 needed
> bundle update
Unfortunately, I realised it won’t work. Activerecord
is bend on sqlite3 gem version ~> 1.4. Maybe sequel
gem would do. But for now I stay with sqlite3 version 1.7
.