Weird rails error “permission denied: bin/rails” for old rails apps

后端 未结 6 1451
执笔经年
执笔经年 2020-12-29 08:42

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

6条回答
  •  一生所求
    2020-12-29 09:09

    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:

    bundle exec rake rails:update:bin
    

提交回复
热议问题