我正在尝试使用here
中的模板创建项目但是当我正在尝试执行
时rails new app -m https://raw.github.com/rails3-application-templates/blob/master/rails3-bootstrap-devise-cancan-template.rb -T
它说
/Users/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find railties (>= 0) amongst [bigdecimal-1.1.0, io-console-0.3, json-1.5.4, minitest-2.5.1, rake-0.9.2.2, rdoc-3.9.4] (Gem::LoadError)
from /Users/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /Users/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /Users/alex/.rvm/gems/ruby-1.9.3-p194/bin/rails:18:in `<main>'
from /Users/alex/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/alex/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'
我用Google搜索了这个问题,在stackoverflow上找到了一些答案,但没有任何帮助。我试图重新安装rails \ ruby,rvm,设置默认版本的ruby等等。 知道该尝试什么吗?