ruby-on-rails - 找不到 Gemfile:找不到 gemfile
问题描述
我刚刚安装了 rails,在创建“rails new mySite”并运行“bundle install”后收到以下消息。我知道 gemfile 在同一个文件夹中,我通过输入“gem -v”检查了它。我不知道出了什么问题。下面是我运行“bundle env”时看到的内容。 捆绑环境
解决方案
在运行之前,请bundle install
确保 Gemfile 具有正确的名称。
1Gemfile
而不是gemfile
,文件大写并且没有文件类型。
2 确保cd
终端位置应与您在同一位置Gemfile
推荐阅读
- sql-insert - 变量托管的查询中的 INSERT INTO SELECT 错误
- machine-learning - 显示反转 ROC 曲线
- java - 打开特定活动时,Android 区域设置重置为默认语言
- python - 查找本地人姓名时出现 KeyError
- python - 如何在python中分组反转数组?
- c - 将 C 链接到 LLVM 中的对象
- cordova - 在 Google Play 商店中上传 apk 文件时出现 apksigner 错误 - MIN_SIG_SCHEME_FOR_TARGET_SDK_NOT_MET
- python - 如何在熊猫中对具有条件的列应用聚合函数
- docker - nginx docker 不重定向 gogs docker 容器
- python-3.x - 无法在 TTP(模板文本解析器)python 中访问以前的模板变量