2011-03-05 57 views
0

我試圖將我的應用程序從Rails 2.3.2升級到Rails 2.3。 5在運行Ruby 1.8.7的機器上運行。我的舊機器在運行Ruby 1.8.6。從Rails 2.3.2升級到Ruby 1.8.6到Rails 2.3.5 Ruby 1.8.7未初始化的常量ActiveSupport :: Dependencies :: Mutex(NameError)

當我嘗試啓動,我得到以下錯誤:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) 
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in `gem_original_require' 
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in `require' 
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support.rb:56 
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in `gem_original_require' 
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in `require' 
    from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:1 
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in `gem_original_require' 
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in `require' 
    from script/server:3 

作爲一個大型的新手,我一直seaching網頁試圖弄清楚這一切了。我似乎無法得到它的工作。

任何人都有一個神奇的子彈。無論是我的代碼還是我?

謝謝。

回答

0

我今天剛剛處理了這個問題。我的紅寶石版本是1.8.7。我的應用程序是在軌道2.3.8和我安裝rubygems 1.3.6。這解決了我的問題。

相關問題