arthurnn / memcached

A Ruby interface to the libmemcached C client
Academic Free License v3.0
432 stars 125 forks source link

if gem install fails once, it will continue to fail, even if the problem is fixed #34

Closed twilliam closed 13 years ago

twilliam commented 13 years ago

If gem install fails on this gem (e.g. missing sasl2 devel libraries), correcting the original problem and reinstalling the gem will always fail because the patches against memcached don't apply cleanly and extconf.rb barfs. You have to delete the entire partially-build gem directory and reinstall for things to work. It would be better if extconf.rb either didn't try to apply the patches again, or detected the already-applied case and didn't abort.

evan commented 13 years ago

Does https://github.com/fauna/memcached/commit/aacbd8e9d64fba37c0831d5f855cdf4426470aca look like it will work for you?