Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

undefined method `set' for #<Redis::MarshaledClient> #53

Closed
diddeb opened this Issue · 3 comments

5 participants

@diddeb

Using Rails 2.3.5 and redis-store 0.3.9, I am seeing the following stack trace when trying to write values:

undefined method set' for #<Redis::MarshaledClient:0x1023b01c0>
vendor/gems/redis-store-0.3.9/lib/redis/marshaled_client.rb:8:in
marshalled_set'
vendor/gems/redis-store-0.3.9/lib/cache/rails/redis_store.rb:19:in send'
vendor/gems/redis-store-0.3.9/lib/cache/rails/redis_store.rb:19:in
write'

Any ideas?

@strathmeyer

I'm having a similar problem with Sinatra:

NoMethodError at /
undefined method `set' for #<Redis::MarshaledClient:0xa9f3da0>
file: marshaled_client.rb location: marshalled_set line: 8

~/ruby1.9.2/lib/ruby/gems/1.9.1/gems/redis-store-0.3.9/lib/redis/marshaled_client.rb in marshalled_set
        set key, val
~/ruby1.9.2/lib/ruby/gems/1.9.1/gems/redis-store-0.3.9/lib/rack/session/redis.rb in set_session
        @pool.marshalled_set session_id, session, options
~/ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/session/abstract/id.rb in commit_session
          if not session_id = set_session(env, session_id, session, options)
@bhus

I'm having same issue too.

@vpereira

I had the same problem, and I fixed updating my redis version. if you installed the version provided by debian, it is outdated.

@jodosha jodosha closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.