Skip to content

Commit

Permalink
Pin redlock gem to version 1.x to avoid dreaded "NOSCRIPT No matching…
Browse files Browse the repository at this point in the history
… script. Please use EVAL." error.

See leandromoreira/redlock-rb#148 for more info.
  • Loading branch information
eltiffster committed May 23, 2024
1 parent a2ec743 commit 314d7c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ gem 'simple_xlsx_reader'

gem 'omniauth-cas'

gem 'redlock', '~> 1.3.2'

# Pin to 5.10.7 to avoid 'PermissionsControl is not a constructor' error
# DO NOT USE 5.10.9
gem 'tinymce-rails', '5.10.7'
Expand Down
7 changes: 3 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -918,12 +918,10 @@ GEM
redic (1.5.3)
hiredis
redis (4.6.0)
redis-client (0.22.1)
connection_pool
redis-namespace (1.11.0)
redis (>= 4)
redlock (2.0.6)
redis-client (>= 0.14.1, < 1.0.0)
redlock (1.3.2)
redis (>= 3.0.0, < 6.0)
reform (2.5.0)
disposable (>= 0.4.2, < 0.5.0)
representable (>= 2.4.0, < 3.1.0)
Expand Down Expand Up @@ -1243,6 +1241,7 @@ DEPENDENCIES
rails-controller-testing
rails-perftest
redis (= 4.6)
redlock (~> 1.3.2)
riiif (~> 1.1)
rolify
rsolr (~> 2.0)
Expand Down

0 comments on commit 314d7c0

Please sign in to comment.