我在 Windows 10 上安装 fedena。我的 ruby 版本是 1.9.3,gem 版本是 1.8.29,rails 版本是 2.3.5。当我运行命令时,它会给出以下输出。Ruby 新手有什么建议可以解决这个问题吗?
C:\fedena>rake db:create
rake aborted!
Could not find test-unit (= 1.2.3) amongst [actionmailer-2.3.5, actionpack-2.3.5, activerecord-2.3.5, activeresource-2.3
.5, activesupport-2.3.5, bigdecimal-1.1.0, i18n-0.4.0, io-console-0.3, json-1.5.5, minitest-2.5.1, mysql-2.9.1-x86-mingw
32, prawn-0.6.3, prawn-core-0.6.3, prawn-format-0.2.3, prawn-layout-0.3.2, prawn-security-0.1.1, rack-1.0.1, rails-2.3.5
, rake-0.9.2.2, rdoc-4.2.2, rdoc-3.9.5, rubytest-0.8.1, test-1.0.0]
(See full trace by running task with --trace)
C:\fedena>rake db:create --trace
rake aborted!
Could not find test-unit (= 1.2.3) amongst [actionmailer-2.3.5, actionpack-2.3.5, activerecord-2.3.5, activeresource-2.3
.5, activesupport-2.3.5, bigdecimal-1.1.0, i18n-0.4.0, io-console-0.3, json-1.5.5, minitest-2.5.1, mysql-2.9.1-x86-mingw
32, prawn-0.6.3, prawn-core-0.6.3, prawn-format-0.2.3, prawn-layout-0.3.2, prawn-security-0.1.1, rack-1.0.1, rails-2.3.5
, rake-0.9.2.2, rdoc-4.2.2, rdoc-3.9.5]
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
C:/fedena/lib/tasks/rspec.rake:1:in `<top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `block in load_with_ne
w_constant_marking'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constan
t_marking'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `block in <top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `<top (required)>'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
C:/fedena/Rakefile:10:in `<top (required)>'
C:/Ruby193/lib/ruby/1.9.1/rake/rake_module.rb:25:in `load'
C:/Ruby193/lib/ruby/1.9.1/rake/rake_module.rb:25:in `load_rakefile'
C:/Ruby193/lib/ruby/1.9.1/rake/application.rb:501:in `raw_load_rakefile'
C:/Ruby193/lib/ruby/1.9.1/rake/application.rb:82:in `block in load_rakefile'
C:/Ruby193/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling'
C:/Ruby193/lib/ruby/1.9.1/rake/application.rb:81:in `load_rakefile'
C:/Ruby193/lib/ruby/1.9.1/rake/application.rb:65:in `block in run'
C:/Ruby193/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling'
C:/Ruby193/lib/ruby/1.9.1/rake/application.rb:63:in `run'
C:/Ruby193/bin/rake:32:in `<main>'