Skip to content

"unintialized constant Redis::NoScript" error with 5.4.1 #1321

@rohitpaulk

Description

@rohitpaulk

Ran into this error when upgrading to 5.4.1, seems related to #1311 (cc: @byroot)

bundler: failed to load command: resque-scheduler (/usr/local/bundle/bin/resque-scheduler)
/usr/local/bundle/gems/redis-5.4.1/lib/redis/client.rb:19:in `<class:Client>': uninitialized constant Redis::NoScriptError (NameError)
 
       ERROR_MAPPING[RedisClient::NoScriptError] = Redis::NoScriptError
                                                        ^^^^^^^^^^^^^^^
 	from /usr/local/bundle/gems/redis-5.4.1/lib/redis/client.rb:4:in `<class:Redis>'
 	from /usr/local/bundle/gems/redis-5.4.1/lib/redis/client.rb:3:in `<top (required)>'

Downgrading to 5.4.0 fixes this.

Can help with a proper repro if needed sometime next week - short on time now so just opening this early!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions