2011-08-22 62 views
0

运行Ruby on Rails的同时on Rails的程序运行的Ruby我如下得到一个错误,错误在Windows

"3168" 
C:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) 
    from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' 
    from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
    from C:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support.rb:56 
    from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' 
    from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
    from C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:1 
    from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' 
    from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
    from ./script/server:3 
    from -e:2:in `load' 
    from -e:2 

是我的工作的环境是Windows XP和配置,

红宝石1.8.7 [I386-的mingw32]

滑轨2.3.11

宝石1.8.8

耙0.8.7

sqlite3的1.2.1

杂种1.2.0.pre2

+0

你可以提供给我你的gemfile吗?如果可能的话,在你的问题中编辑它 – Rockking

回答

0

尽量把

require 'thread' 

到您的boot.rb文件。