If config[:host] isn't defined, then server won't be either, and Dalli::Client.new will be called with nil as the first param.  Shouldn't this be something like:
```ruby
server = config.fetch(:host, "localhost") + ":" + config.fetch(:port, 11211)
```