英文:
bin/dev: 8: exec: foreman: not found
问题
你好,我目前正在按照教程的步骤,以便将React连接到我使用https://github.com/rails/jsbundling-rails的Rails应用程序,并选择了esbuild,但是当我在终端中运行bin/dev时,我会遇到上面的错误。感谢任何帮助,因为这是我第一次尝试在Rails应用程序中使用React。
英文:
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
得分: 7
你需要安装 foreman gem。你可以在终端中使用以下命令来安装它:
gem install foreman
英文:
You need to install foreman gem. You can install it in the terminal with this command:
gem install foreman
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论