-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Description
fly.io deployment fails with the following error at the line in dockerfile
RUN SECRET_KEY_BASE=DUMMY ./bin/rails assets:precompile
=> [build 4/6] COPY --link . . 0.0s
=> [build 5/6] RUN bundle exec bootsnap precompile app/ lib/ 0.8s
=> ERROR [build 6/6] RUN SECRET_KEY_BASE=DUMMY ./bin/rails assets:precompile 0.3s
------
> [build 6/6] RUN SECRET_KEY_BASE=DUMMY ./bin/rails assets:precompile:
#0 0.270 /usr/bin/env: ‘ruby\r’: No such file or directory
#0 0.270 /usr/bin/env: use -[v]S to pass options in shebang lines
------
Error: failed to fetch an image or build from source: error building: failed to solve: executor failed running [/bin/sh -c SECRET_KEY_BASE=DUMMY ./bin/rails assets:precompile]: exit code: 127
I'm not into ruby and just wanted to deploy this out of the box for a friend. Please advise.
Metadata
Metadata
Assignees
Labels
No labels