[英]Ruby on Rails installation error: Could not locate Gemfile
我是Ruby on Rails的新手,现在尝试安装ROR。 我遵循本教程http://blog.sudobits.com/2011/10/27/how-to-install-ruby-on-rails-in-ubuntu-11-10/
安装gem install rails
这个gem install rails
创建我的项目,就像rails new myproject
。 这里显示此消息
Your bundle is complete! Use
Your bundle is complete! Use
bundle show [gemname] to see where a bundled gem is installed.
。
之后,我运行bundle install
它,显示此错误Could not locate Gemfile
。
请帮助我如何解决这个问题。
运行bundle install
之前,请确保您位于项目目录中。
例如,在运行rails new myproject
,需要在运行bundle install
之前先将cd myproject
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.