Ask A Question

Notifications

You’re not receiving notifications from this thread.

hi...i want run bundle install that get error:

farzaneh asked in General

when run install bundle install i get error below(not exist gemfile.lock):

An error occurred while installing mysql2 (0.4.4), and Bundler cannot continue.
Make sure that gem install mysql2 -v '0.4.4' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile:
mysql2

when run install bundle install i get error below(exist gemfile.lock):

Your bundle is locked to mimemagic (0.3.2), 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.2) has removed it. You'll need to update your bundle to a version other than mimemagic (0.3.2) that hasn't been removed in order to
install.

can you help me?

Reply

What Rails version are you on? mimemagic dependency recently got changed from Rails. You will need to run bundle update rails to fix it.

Reply
Join the discussion
Create an account Log in

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

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

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

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.