Howto install memcached gem on Ubuntu/Debian

Memcached is a general-purpose distributed memory caching system used by many sites around. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such as a database or API) must be read. Memcached runs on Unix, Linux, Windows and Mac OS X. The memcached gem requires the following development libraries to be installed...

April 16, 2013

Fast Static Sites with Ruby on Heroku/Cedar

Recently I needed a simple and fast way for serving a basic static website. I ended up with a simple Ruby and Rack/Thin-based application, suitable for deploying to Heroku. Which means more or less no maintenance and it supports SSL - which is good in this case. For even simpler free HTML cloud hosting check out GitHub Pages. For SSL support Rack::SslEnforcer is used. {% gist 4181366 %} Run it locally $ rackup

December 1, 2012