簡體   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