Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method exists? for class Dir #53

Open
harunkelesoglu opened this issue Jun 1, 2024 · 1 comment
Open

undefined method exists? for class Dir #53

harunkelesoglu opened this issue Jun 1, 2024 · 1 comment

Comments

@harunkelesoglu
Copy link

When i tried install redis stack using brew i encountered the following errror:

Harun-MacBook-Pro:Projects harunkelesoglu$ brew install redis-stack
==> Downloading https://redismodules.s3.amazonaws.com/redis-stack/.donotremove
-#O=-#     #        #                                                                                                                                                                                                 
==> Installing dependencies: libomp, redis-stack-server, redis-stack-redisinsight
==> Downloading https://ghcr.io/v2/homebrew/core/libomp/manifests/18.1.6
############################################################################################################################################################################################################### 100.0%
==> Fetching libomp
==> Downloading https://ghcr.io/v2/homebrew/core/libomp/blobs/sha256:a70d0d40688e8aff2129836f502b2b405b41113cab3ebb0c46c5a3ed049513b1
############################################################################################################################################################################################################### 100.0%
==> Installing libomp
==> Pouring libomp--18.1.6.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libomp/18.1.6: 9 files, 1.7MB
==> Downloading https://redismodules.s3.amazonaws.com/redis-stack/redis-stack-server-7.2.0-v10.monterey.arm64.zip
############################################################################################################################################################################################################### 100.0%
Warning: Cannot verify integrity of '233de96d05b20119de565d70e00318af8e5a7cac497d6248137041730192055e--redis-stack-server-7.2.0-v10.monterey.arm64.zip'.
No checksum was provided.
For your reference, the checksum is:
  sha256 "bdd8ecb61f3619f898842d141d558b8c683767edce9874fd618a79a28cf68d64"
==> Installing Cask redis-stack-server
==> Purging files for version 7.2.0-v10 of Cask redis-stack-server
Error: undefined method `exists?' for class Dir
/opt/homebrew/Library/Taps/redis-stack/homebrew-redis-stack/Casks/redis-stack-server.rb:59:in `block (2 levels) in load'
/opt/homebrew/Library/Homebrew/cask/artifact/abstract_flight_block.rb:47:in `instance_eval'
/opt/homebrew/Library/Homebrew/cask/artifact/abstract_flight_block.rb:47:in `abstract_phase'
/opt/homebrew/Library/Homebrew/cask/artifact/abstract_flight_block.rb:26:in `install_phase'
/opt/homebrew/Library/Homebrew/cask/installer.rb:248:in `block in install_artifacts'
/opt/homebrew/Library/Homebrew/cask/artifact_set.rb:10:in `each'
/opt/homebrew/Library/Homebrew/cask/artifact_set.rb:10:in `each'
/opt/homebrew/Library/Homebrew/cask/installer.rb:241:in `install_artifacts'
/opt/homebrew/Library/Homebrew/cask/installer.rb:113:in `install'
/opt/homebrew/Library/Homebrew/cask/installer.rb:360:in `block in satisfy_cask_and_formula_dependencies'
/opt/homebrew/Library/Homebrew/cask/installer.rb:346:in `each'
/opt/homebrew/Library/Homebrew/cask/installer.rb:346:in `satisfy_cask_and_formula_dependencies'
/opt/homebrew/Library/Homebrew/cask/installer.rb:71:in `fetch'
/opt/homebrew/Library/Homebrew/cask/installer.rb:102:in `install'
/opt/homebrew/Library/Homebrew/cmd/install.rb:246:in `block in run'
/opt/homebrew/Library/Homebrew/cmd/install.rb:235:in `each'
/opt/homebrew/Library/Homebrew/cmd/install.rb:235:in `run'
/opt/homebrew/Library/Homebrew/brew.rb:92:in `<main>'
@john-ju
Copy link

john-ju commented Jun 4, 2024

found a fix in an older issue

#45 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants