New Discussion

Notifications

You’re not receiving notifications from this thread.

Permission Failed when deploying to render

4
Ruby

I am on windows 10 and i was trying to deploy to render but meeting the v=below error

Bundle complete! 14 Gemfile dependencies, 68 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into /opt/render/project/.gems
bash: ./bin/rails: Permission denied
==> Build failed 😞

Your bin/rails file is missing execute permission (common when pushing from Windows, geometry dash online ).

Run this in Git Bash:

chmod -R +x bin
git add bin
git commit -m "Fix bin permissions"
git push

Then redeploy on Render.

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.