Ask A Question


You’re not receiving notifications from this thread.

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"

appraise "rails-5-2" do
gem "rails", "~> 5.2"
gem "sqlite3", "~> 1.3", "< 1.4"

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 84,256+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.