我尝试创建一个简单的 RoR 3.2.3 应用程序,但我做不到。看来我安装了一些错误的东西。
这是来自 Ubuntu 控制台的代码
~$ rails test
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find railties (>= 0) amongst [] (Gem::LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:1208:in `gem'
from /usr/local/bin/rails:18
~$ rails -v
Rails 3.2.3
~$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
~$ gem -v
1.8.15
我应该怎么做才能解决它?