当我使用rails Composer工具创建新的Rails应用程序时:
$ rails new myapp -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb我收到这个错误:
run bundle install --without production from "."
/Gemfile not found # <= that is the error此错误阻止从模板中完成生成应用程序。
之后,当我手动运行"bundle install“时,它可以正常工作。我尝试使用另一个rails模板(template),并收到了相同的错误。
我使用Ruby2.0,rails 4.0.0,rvm 1.23.12
发布于 2013-11-05 23:44:31
终于解决了。该错误引用了rails-composer问题:https://github.com/RailsApps/rails-composer/issues/138。
我通过在终端中运行"gem update“命令解决了这个问题。
发布于 2015-04-07 08:43:36
“”用于处理相同的错误。“找不到Gemfile”错误。
我从一个GIT中克隆了一个项目,收到了这个错误。
当我物理地看到它位于我的项目目录中时,混乱就开始了。
运行创业板更新绝对有帮助!
https://stackoverflow.com/questions/19616876
复制相似问题