Skip to content

Instantly share code, notes, and snippets.

@dmamolina
Created July 13, 2015 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmamolina/6367cf17019fa4ce2b68 to your computer and use it in GitHub Desktop.
Save dmamolina/6367cf17019fa4ce2b68 to your computer and use it in GitHub Desktop.
diff --git a/src/sunstone/sunstone-server.rb b/src/sunstone/sunstone-server.rb
index a453fbe..fe5d083 100755
--- a/src/sunstone/sunstone-server.rb
+++ b/src/sunstone/sunstone-server.rb
@@ -109,9 +109,9 @@ when 'memcache-dalli'
STDERR.puts memcache_server
use Rack::Session::Dalli,
- memcache_server: memcache_server,
- namespace: $conf[:memcache_namespace],
- cache: Dalli::Client.new
+ :memcache_server => memcache_server,
+ :namespace => $conf[:memcache_namespace],
+ :cache => Dalli::Client.new
else
STDERR.puts "Wrong value for :sessions in configuration file"
exit(-1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment