繁体   English   中英

Ruby on Rails安装错误:找不到Gemfile

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM