bin/dev: 8: exec: foreman: not found

2.7k Views Asked by At

Hello I am currently following a tutorial in order to connect react to my rails app that uses https://github.com/rails/jsbundling-rails and went with esbuild, however when I run bin/dev in my terminal I get the above error any help is appreciated as this is my first time trying to use react along with a rails app

1

There are 1 best solutions below

0
On BEST ANSWER

You need to install foreman gem. You can install it in the terminal with this command:

gem install foreman

From foreman's github page:

Ruby users should take care not to install foreman in their project's Gemfile. See this wiki article for more details.