Intento impulsar mi proyecto en heroku y aparece un mensaje de error
git push heroku master
remote: -----> Building on the Heroku-18 stack
remote: -----> Using buildpack: heroku/ruby
remote: -----> Ruby app detected
remote: -----> Installing bundler 2.2.11
remote: -----> Removing BUNDLED WITH version in the Gemfile.lock
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.6.3
remote: -----> Installing dependencies using bundler 2.2.11
remote: Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4
remote: Fetching gem metadata from https://rubygems.org/............
remote: **Your bundle is locked to mimemagic (0.3.5), but that version could not be found**
remote: in any of the sources listed in your Gemfile. If you haven't changed sources,
remote: that means the author of mimemagic (0.3.5) has removed it. You'll need to update
remote: your bundle to a version other than mimemagic (0.3.5) that hasn't been removed
remote: in order to install.
remote: Bundler Output: Fetching gem metadata from https://rubygems.org/............
remote: Your bundle is locked to mimemagic (0.3.5), but that version could not be found
remote: in any of the sources listed in your Gemfile. If you haven't changed sources,
remote: that means the author of mimemagic (0.3.5) has removed it. You'll need to update
remote: your bundle to a version other than mimemagic (0.3.5) that hasn't been removed
remote: in order to install.
remote:
remote: !
remote: ! Failed to install gems via Bundler.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: !
Supongo que el problema se debe a que la versión de Rails Gem Mimemagic no está actualizada, así que intento actualizar a la última versión, pero todavía no funciona.
Aquí está mi versión Ruby, Rails, mimemagic
ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18]
rails -v
Rails 6.1.3.1
bundle info mimemagic
* mimemagic (0.4.3)
información en Gemfile
gem 'rails', '~> 6.1', '>= 6.1.0'
gem 'bundler', '~> 2.2', '>= 2.2.1.1'
gem 'mimemagic', '~> 0.4.3'
en Gemfile.lock
mimemagic (~> 0.4.3)
1
¿Has revisado este stackoverflow.com/questions/66823608/…
- miel
27 de marzo de 2021 a las 7:56
@honey Dado que el OP no usa MacOS, pero intenta ejecutarlo en Heroku, esa pregunta no parece relevante.
-Mark Rotteveel
29 de marzo de 2021 a las 7:53
------------------------------------
ejecutar la actualización del paquete mimemagic funcionó para mí
2
Stackoverflow está lleno de problemas de este tipo. Considere dejar un comentario con un enlace a uno ya respondido.
-razvans
28/03/2021 a las 20:44
Mi mimemagic es la última versión de la joya 'mimemagic', '~> 0.4.3' pero lamentablemente no funciona.
-Sheng87
29/03/2021 a las 10:49
------------------------------------
Cambia la versión de mimemagic a 0.3.10 en tu Gemfile
¿Mimemagic parece estar experimentando actualizaciones? ojalá se solucione pronto. Intente cambiar mimemagic a la versión anterior por ahora.
Archivo de gemas:
gem 'mimemagic', '~> 0.3.10'
1
Usando mimemagic 0.3.10 (antes 0.4.3) gema 'mimemagic', '~> 0.3.10' Sigue apareciendo el mismo mensaje de error: "Su paquete está bloqueado para mimemagic (0.3.5),pero esa versión no se pudo encontrar remotamente: en ninguna de las fuentes enumeradas en su Gemfile. Gracias de todos modos.
-Sheng87
31 de marzo de 2021 a las 9:10
------------------------------------
La ejecución de la actualización del paquete actualizará automáticamente todas las dependencias de tu aplicación a la última versión
Compartir
Seguirrespondido
16 de abril de 2021 a las 0:06
Stephanie V
Stephanie V
1