Open Zer0-Tolerance opened 1 month ago
For context, I have the same installation problem but i'm trying to install on a brand new macbook pro , Apple M3 Max, 36GB, Sonoma 14.3.1.
Had the same problem today on mac, fixed by changing 3 (i think) instances of File.exists?
to File.exist?
and 1 instance of Dir.exists?
to Dir.exist?
in /usr/local/Homebrew/Library/Taps/redis-stack/homebrew-redis-stack/Casks/redis-stack-server.rb
I have the same issue
just ran into this and @mattweston suggestion fixed for me as well. just find where you installed redis-stack-server.rb
and change .exists
to .exist
in the four places.
mine was located /opt/homebrew/Library/Taps/redis-stack/homebrew-redis-stack/Casks/redis-stack-server.rb
This fix worked for me as well, thanks @mattweston!
Just to add some clarity, the file you want to edit depends on whether you have an Intel or Apple Silicon (M series) Mac.
For Intel Macs, the file is:
/usr/local/Homebrew/Library/Taps/redis-stack/homebrew-redis-stack/Casks/redis-stack-server.rb
For Apple Silicon Macs, the file is:
/opt/homebrew/Library/Taps/redis-stack/homebrew-redis-stack/Casks/redis-stack-server.rb
Just replace all instances of .exists?
with .exist?
in that file. There should be four of them.
Apple M1, had to fix the exists into exist in the following file:
open /opt/homebrew/Caskroom/redis-stack-server/.metadata/7.2.0-v10/20240404171843.440/Casks/redis-stack-server.rb
redis-stack-server.rb
This worked for me as well
Apple M1, had to fix the exists into exist in the following file:
open /opt/homebrew/Caskroom/redis-stack-server/.metadata/7.2.0-v10/20240404171843.440/Casks/redis-stack-server.rb
Apple M1 Pro, had to do this and was able to get this part of things working
Hi there, I'm trying to install Redis-stack but it fails with this error:
any idea why this is happening ?