Dear Andy thanks a lot for your clear explanation (may the digital god
of the bits bless you in everything you code).
I confirm I found this problem in Ubuntu 20.10 having all the latest
versions (bundler 2.1.4).
For other user suffering from this, while we wait for the final proper
solution,
I think this issue is also affecting Rails 6.1 on the system ruby/ruby-
bundler packages. Testing on the latest Ubuntu Focal stable packages:
$ sudo gem install rails -v 6.1.1
$ rails new my-app
$ cd my-app && bundle exec rails db:setup
rails aborted!
TypeError: superclass mismatch for class
This isn't a problem in the ruby-thor package (although it could do with
an update). This is a problem with the ruby-bundler package.
Specifically, the upstream bundler codebase vendors Thor under a
separate namespace (Bundler::Thor) to avoid this specific issue. Bundler
itself needs Thor, but
** Also affects: ruby-bundler (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: ruby-bundler (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1885424
Title:
Create
Ran into this today when trying an Ubuntu 20.04 upgrade on a Rails app.
FWIW I added `gem 'thor', '~> 0.20.3'` to the Rails app's `gems.rb` (aka
`Gemfile`) in order to make it go away.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ruby-thor (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1885424
Title: