I am following the instruction from Heroku's blog article: https://blog.heroku.com/a-rock-solid-modern-web-stack, and at the section, where I need to set up Procfile.dev" for Heroku.
The file needs to be place at the root of the application where my "client" (React Web Front) and "api" (Rails API backend) folders are. So, when I insert command:
"heroku local -f Procfile.dev"
The error indicates the following:
10:00:56 PM web.1 | yarn run v1.9.4
10:00:56 PM api.1 | Could not locate Gemfile or .bundle/ directory
[DONE] Killing all processes with signal SIGINT
10:00:56 PM api.1 Exited with exit code null
10:00:56 PM web.1 Exited with exit code
"
It states that it cannot find my Gemfile, which is located inside the API folder. So, I like to ask "How to locate Gemfile or bundle after "Heroku local -f Procfile.dev" commend"???
Thanks
You just need to change directories to your app, THEN run bundle install :)