Browse files

Using memcachier gem.

  • Loading branch information...
1 parent 0e9de3a commit 6e008d7822fa885e1d4a30ab65381ce536b96185 @lunks lunks committed Nov 19, 2013
Showing with 4 additions and 1 deletion.
  1. +1 −0 Gemfile
  2. +2 −0 Gemfile.lock
  3. +1 −1 app/cache.rb
View
1 Gemfile
@@ -5,6 +5,7 @@ gem 'rake'
gem 'sinatra'
gem 'haml'
gem 'nokogiri'
+gem 'memcachier'
gem 'dalli'
gem 'httpclient'
gem 'shotgun'
View
2 Gemfile.lock
@@ -15,6 +15,7 @@ GEM
tilt
httpclient (2.3.4.1)
kgio (2.8.1)
+ memcachier (0.0.2)
metaclass (0.0.1)
method_source (0.8.2)
mime-types (2.0)
@@ -66,6 +67,7 @@ DEPENDENCIES
fakeweb
haml
httpclient
+ memcachier
mocha
nokogiri
pry
View
2 app/cache.rb
@@ -1,6 +1,6 @@
class Cache
def self.instance
- Dalli::Client.new('localhost:11211')
+ Dalli::Client.new
end
end

0 comments on commit 6e008d7

Please sign in to comment.