mezis / yarp

Yet Another Rubygems Proxy
68 stars 10 forks source link

When env MEMCACHIER_SERVERS empty, use file cache. #12

Closed nodkz closed 10 years ago

mezis commented 10 years ago

Great idea. I suppose you've tested it live?

nodkz commented 10 years ago

Yes.

Firstly write .present?, but this method works only in rails. So change to .empty? and it works perfectly in production.

mezis commented 10 years ago

Thanks! Merging this. I'll deploy to the Yarp production servers too.