2011-08-22 97 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文件。