You have modified your Gemfile in development but did not check…

Posted on 08 January 2011

Hoy haciendo un deploy con Capistrano me encontré con este error:

You have modified your Gemfile in development but did not check
** [out :: ] the resulting snapshot (Gemfile.lock) into version control
** [out :: ]
** [out :: ] You have deleted from the Gemfile:
** [out :: ] * version: 1.0.6
Buceando un poco por Google encontré esta solución rápida

rm -rf .bundle && rm Gemfile.lock && bundle install && git add Gemfile.lock && git commit -m “Added Gemfile.lock”

Aun que en mi caso era un problema con las versiones de Bundler, por lo que antes me toco hacer un sudo gem update bundler y tener las mismas versiones tanto en la maquina local como en el servidor de staging. Después otra vez a deployar tan tranquilos :P

VN:F [1.9.7_1111]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)


No responses yet. You could be the first!

Leave a Response

Recent Posts

Tag Cloud

appletv AppStore arkx autocomplete autonomo bundler capistrano ciudadanos click conferenciarails conferenciaror defensa deploy derechos economía sostenible Emprender errors euruko expresión flickr fotos freelance galicia on rails gui guide impresiones iOS iPad iPhone ley sinde libertad manifiesto personal plugins productividad Rails reforma de ley reforma ley reunion review Ruby sinde ssh tap UI

Meta

Pablo Formoso is proudly powered by WordPress and the SubtleFlux theme.

Copyright © Pablo Formoso