We've moved discussions to Discord

mimemagic error when running bin/setup

Zmago Devetak
When I run the bin/setup the first time I get this error

Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.13). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.13`.
https://github.com/excid3/administrate.git (at jumpstart@ed05fa8) is not yet checked out. Run `bundle install` first.
Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.13). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.13`.
Fetching gem metadata from https://rubygems.org/.........
Your bundle is locked to mimemagic (0.3.5), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of mimemagic (0.3.5) has
removed it. You'll need to update your bundle to a version other than mimemagic (0.3.5) that hasn't been removed in order to install.

== Command ["bundle install"] failed ==

The last commit I have i 277092c532f2e338d61b47cf88324d118760a5bb
Screenshot 2021-03-24 at 22.47.15.png 74 KB
Willard Moore
There is a lot going on with mimemagic right now. Here is the skinny on it. It's not a Jumpstart issue, it's much bigger than that. Check hacker news. 

Zmago Devetak
Thank you  Willard Moore  🙏
Donal O Duibhir
Should we just manually add to bin/setup in the interim gem install mimemagic:0.3.7 or a bundle update?
Zmago Devetak
Donal O Duibhir   bundle update didn't work for me. I had to install  brew install shared-mime-info and then update the gems bundle update nokogiri marcel mimemagic
 🤷‍♂️

reference: 
https://github.com/rails/rails/issues/41757#issuecomment-806938727
Pierre-Loïc
FYI, Rails released new minor versions to remove the `mimemagic` dependency. 
https://weblog.rubyonrails.org/2021/3/26/marcel-upgrade-releases/

I don't recommend updating the gem because of the license update.
Notifications
You’re not receiving notifications from this thread.