且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

试图执行任何启动"rails"的命令.产生“无法找到Gemfile".

更新时间:2023-11-01 10:10:28

仅在前缀为的命令或在当前目录中没有Gemfilebundle install的命令中,才会发生此错误.

This errors happens only with commands prefixed with bundle exec or for bundle install without Gemfile in current dir.

我的假设是您可能正在运行启用bundler的命令,请检查:

My assumption is you might be running commands that enable bundler, check:

which rake

找出正在运行的命令.