0
我們的VPS剛剛從Debian的擠壓和PHP 5.2的Ubuntu和PHP 5.5升級,我們的網站(Ruby的編碼),現在已減少與各種有趣的錯誤:Ruby on Rails的VPS後,網站錯誤升級
這裏是什麼改變了鏈接:http://wiki.dreamhost.com/EOL_Debian_4.0,_5.0,_and_6.0_on_VPS#Overview
可惜我不是在所有的網絡管理員(實際上是一個DBA),和我們以前的網絡管理員不可用問話!任何關於發生什麼的幫助或幫助,如果有可能的修復(或不),將不勝感激!
這是回溯的錯誤:
undefined method `name' for "BlueCloth":String (NoMethodError)
/home/grfxp_edge/rails/grfxp_web/releases/20130606051836/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:277:in `=='
/usr/lib/ruby/vendor_ruby/1.8/rubygems/dependency.rb:217:in `==='
/usr/lib/ruby/vendor_ruby/1.8/rubygems/dependency.rb:217:in `matching_specs'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `find_all'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/specification.rb:410:in `each'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/specification.rb:409:in `each'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/dependency.rb:216:in `find_all'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/dependency.rb:216:in `matching_specs'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/dependency.rb:238:in `to_specs'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
/usr/lib/ruby/vendor_ruby/1.8/rubygems.rb:1208:in `gem'
/home/grfxp_edge/rails/grfxp_web/releases/20130606051836/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:75:in `add_load_paths'
/home/grfxp_edge/rails/grfxp_web/releases/20130606051836/config/../vendor/rails/railties/lib/initializer.rb:301:in `add_gem_load_paths'
/home/grfxp_edge/rails/grfxp_web/releases/20130606051836/config/../vendor/rails/railties/lib/initializer.rb:301:in `each'
/home/grfxp_edge/rails/grfxp_web/releases/20130606051836/config/../vendor/rails/railties/lib/initializer.rb:301:in `add_gem_load_paths'
/home/grfxp_edge/rails/grfxp_web/releases/20130606051836/config/../vendor/rails/railties/lib/initializer.rb:132:in `process'
/home/grfxp_edge/rails/grfxp_web/releases/20130606051836/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/home/grfxp_edge/rails/grfxp_web/releases/20130606051836/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/home/grfxp_edge/rails/grfxp_web/releases/20130606051836/config/environment.rb:21
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/dh/passenger/helper-scripts/classic-rails-preloader.rb:96:in `preload_app'
/dh/passenger/helper-scripts/classic-rails-preloader.rb:184
我非常懷疑'PHP'版本是相關的。如果沒有更多的信息,我不能真正調試你的問題,但是它運行rails 2.3.11和ruby version 1.8這個事實是值得關注的! (什麼時候是你最後一次更新軟件?)可能你只需要(重新)安裝ruby gem依賴項:'cd/home/grfxp_edge/rails/grfxp_web/releases/current; bundle install'?... –
你的應用程序運行在Ruby 1.8.7和Rails 2.3.11上。這意味着您的應用程序未超過5年更新。這個版本中有多個安全問題。我的建議是:儘快聘請經驗豐富的Rails開發人員或自由職業者。即使你能夠解決你當前的問題,你的應用程序也有危險...... – spickermann
@TomLord Bundler是在Rails 3中引入的。通用Rails 2.3沒有Gemfile。是什麼讓它很難找出哪些舊的寶石版本可能與該應用程序... – spickermann