How to Test Gem Dependencies with Appraisal Discussion
Thanks Chris, I actually can use this for making futurism future-proof π
The only thing I see is (and I'm using the exact same setup you do in that video), that appraisal fails to correctly load the sqlite3 gem, because apparently ActiveRecord 5.2 and 6.0 have different dependencies:
Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.2. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
Have you seen this and/or have any idea how to fix it?
Silly me... added it to my Appraisals file:
appraise "rails-6-0" do
gem "rails", "~> 6.0"
gem "sqlite3", "~> 1.4"
end
appraise "rails-5-2" do
gem "rails", "~> 5.2"
gem "sqlite3", "~> 1.3", "< 1.4"
end