ormprog / rails_ama

Ruby/Rails - Ask Me Anything
MIT License
2 stars 0 forks source link

mimemagic error #157

Closed sadmanahmed closed 3 years ago

sadmanahmed commented 3 years ago
bundle install
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
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.
wasifhossain commented 3 years ago

try bundle update mimemagic

most probably it would bump its version to 0.3.6, which contains a temporary fix to the original problem: https://github.com/minad/mimemagic/issues/97

sadmanahmed commented 3 years ago

I dont have mimemagic gem in my gemfile but it is in my gemfile.lock

 bundle update mimemagic
This Bundle hasn't been installed yet. Run `bundle install` to update and
install the bundled gems.
sadmanahmed commented 3 years ago

158 occurs when I am trying to use bundle install

wasifhossain commented 3 years ago

its advised to update mimemagic to v0.3.8, which is the latest 0.3.x (at the time of writing), given the fact that all versions below v0.3.7 have been yanked (pruned)

https://github.com/mimemagicrb/mimemagic/tags