I am using Rails 4.2
On running command
rails s
or rails server
terminal says:
_rails_command:2: permission denied: bin/rails
but
bundle exec rails s
is working. Any idea why this is happening?
This command did the job:
bundle exec spring binstub --all