2011-03-19 56 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

回答

相关问题