redis-stack / homebrew-redis-stack

4 stars 6 forks source link

Error: undefined method `exists?' for class Dir for brew install --cask redis-stack #50

Open Devrath27 opened 1 month ago

Devrath27 commented 1 month ago

CMD: brew install --cask redis-stack

Error: undefined method exists?' for class Dir /opt/homebrew/Library/Taps/redis-stack/homebrew-redis-stack/Casks/redis-stack-server.rb:59:inblock (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:inabstract_phase' /opt/homebrew/Library/Homebrew/cask/artifact/abstract_flight_block.rb:26:in install_phase' /opt/homebrew/Library/Homebrew/cask/installer.rb:248:inblock in install_artifacts' /opt/homebrew/Library/Homebrew/cask/artifact_set.rb:10:in each' /opt/homebrew/Library/Homebrew/cask/artifact_set.rb:10:ineach' /opt/homebrew/Library/Homebrew/cask/installer.rb:241:in install_artifacts' /opt/homebrew/Library/Homebrew/cask/installer.rb:113:ininstall' /opt/homebrew/Library/Homebrew/cask/installer.rb:360:in block in satisfy_cask_and_formula_dependencies' /opt/homebrew/Library/Homebrew/cask/installer.rb:346:ineach' /opt/homebrew/Library/Homebrew/cask/installer.rb:346:in satisfy_cask_and_formula_dependencies' /opt/homebrew/Library/Homebrew/cask/installer.rb:71:infetch' /opt/homebrew/Library/Homebrew/cask/installer.rb:102:in install' /opt/homebrew/Library/Homebrew/cmd/install.rb:246:inblock in run' /opt/homebrew/Library/Homebrew/cmd/install.rb:235:in each' /opt/homebrew/Library/Homebrew/cmd/install.rb:235:inrun' /opt/homebrew/Library/Homebrew/brew.rb:92:in `

'

yeroshalmimLF commented 1 month ago

I am getting the same error. Someone Please Help!

rtarway commented 1 month ago

I am getting this error as well

john-ju commented 1 month ago

found a fix in an older issue

https://github.com/redis-stack/homebrew-redis-stack/issues/45#issuecomment-2148449328