[英]Ruby on Rails installation error: Could not locate Gemfile
I am new to Ruby on Rails, Now try to install ROR. 我是Ruby on Rails的新手,现在尝试安装ROR。 I follow this tutorials
http://blog.sudobits.com/2011/10/27/how-to-install-ruby-on-rails-in-ubuntu-11-10/
我遵循本教程
http://blog.sudobits.com/2011/10/27/how-to-install-ruby-on-rails-in-ubuntu-11-10/
After install this gem install rails
create my project like rails new myproject
. 安装
gem install rails
这个gem install rails
创建我的项目,就像rails new myproject
。 here showing this message 这里显示此消息
Your bundle is complete! Use
Your bundle is complete! Use
bundle show [gemname] to see where a bundled gem is installed.
Your bundle is complete! Use
bundle show [gemname] to see where a bundled gem is installed.
. 。
After then i run bundle install
its showing this error Could not locate Gemfile
. 之后,我运行
bundle install
它,显示此错误Could not locate Gemfile
。
please help me how can i solve this problem. 请帮助我如何解决这个问题。
Make sure you are in the project directory before running bundle install
. 运行
bundle install
之前,请确保您位于项目目录中。
For example, after running rails new myproject
, you will need to cd myproject
before running bundle install
. 例如,在运行
rails new myproject
,需要在运行bundle install
之前先将cd myproject
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.