I\'m getting this error whenever I run rails (or any rails command) _rails_command:2: permission denied: bin/rails ONLY when i\'m inside some
rails
_rails_command:2: permission denied: bin/rails
The solution for me was:
bundle exec rake rails:update:bin
or just use:
For new rails versions:
bundle exec rake app:update:bin
For old rails versions: