Zsh: permission denied: bin / rake

I recently bought a new Macbook and successfully installed Rails, Ruby, Git, Homebrew and Postgres. I can open the application in the atom, but when I try to migrate or drop the database, ZSH gives me permission denied. Is there something I am missing / forgetting to install?

➜ SYT git:(master) ✗ bin/rake db:migrate zsh: permission denied: bin/rake ➜ SYT git:(master) ✗ bin/rake db:drop zsh: permission denied: bin/rake

+4
source share
1 answer

The contents of the directory bindo not seem to have permission to execute. You can fix it with

chmod +x bin/*
+14
source

Source: https://habr.com/ru/post/1599181/


All Articles