2011-03-19 55 views
0

我下面this Rails guide「模板無法加載」錯誤和跨越這條線進來:入門當我使用Rails應用程序生成

$ rails new thud -m https://gist.github.com/722911.txt 

當我試圖在我的commanline運行此,我得到了一個錯誤信息:

The template [/Users/newuser/Dropbox/Xperiments/Ruby/https:/gist.github.com/722911.txt] could not be loaded. Error: Could not find "/Users/newuser/Dropbox/Xperiments/Ruby/https:/gist.github.com/722911.txt" in any of your source paths. Your current source paths are: /Users/newuser/.rvm/gems/[email protected]/gems/railties-3.0.3/lib/rails/generators/rails/app/templates

任何想法爲什麼會發生這種情況?

+0

這對我的作品。從錯誤,它看起來像你可能已經錯過了協議後的網址中的正斜槓? – idlefingers 2011-03-19 13:56:26

+0

正斜槓在我的輸入中。看起來好像Rails在某種程度上在本地尋找模板。如果我可能會問,你正在運行哪個版本的Rails? – picardo 2011-03-19 14:21:56

+0

我正在使用3.0.5 – idlefingers 2011-03-19 14:42:14

回答

相關問題