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