我刚安装了rails 3.0.1,当我尝试做类似rails server的操作时,我在下面看到了错误消息。更改我的应用程序正在使用的版本或导轨
注意第一行说它找不到rails gem 3.0.0.rc: 在任何gem s 资源中都找不到gem'rails(= 3.0.0.rc,runtime)'。 (Bundler :: GemNotFound)
如何让我的rails3应用程序使用rails 3.0.1?
谢谢,
-p.s.完整的错误:
C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/resolver.rb:280:在 resolve': Could not find gem 'rails (= 3.0.0.rc, runtime)' in any of the gem s ources. (Bundler::GemNotFound) from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/resol ver.rb:162:in
启动” 从C: /Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/resol ver.rb:131:在block in resolve' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/resol ver.rb:130:in
catch' from C:/ Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/resol ver.rb:130:resolve' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/defin ition.rb:153:in
从C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0解析' .3/lib/bundler/defin ition.rb:93:specs' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/defin ition.rb:137:in
specs_for' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/defin ition.rb:126:requested_specs' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/envir onment.rb:23:in
requested_specs' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler/runti me.rb:11:in setup' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.3/lib/bundler.rb:10 0:in
设置 ' 从C:/用户/ soheil /文档/集锦工作室3工作区/ pakrat-Rails3中/ C onfig /的boot.rb:5:在<top (required)>' from <internal:lib/rubygems/custom_require>:29:in
需要' 从 :29:在require' from script/rails:8:in
'