简体   繁体   English

VPS升级后Ruby on Rails网站错误

[英]Ruby on Rails website errors after VPS upgrade

Our VPS was just upgraded from Debian Squeeze and php 5.2 to Ubuntu and php 5.5, our website (coded in Ruby) is now down with all sorts of fun errors: 我们的VPS刚刚从Debian Squeeze和php 5.2升级到Ubuntu和php 5.5,我们的网站(用Ruby编码)现在因各种有趣的错误而关闭:

our URL: http://grfxpstore.com/ 我们的网址: http : //grfxpstore.com/

Here's a link to what has changed: http://wiki.dreamhost.com/EOL_Debian_4.0,_5.0,_and_6.0_on_VPS#Overview 以下是更改内容的链接: http : //wiki.dreamhost.com/EOL_Debian_4.0,_5.0,_and_6.0_on_VPS#Overview

Unfortunately I'm not at all a web admin (actually a dba), and our former webmaster is not available for questioning! 不幸的是,我根本不是网络管理员(实际上是dba),而且我们以前的网站站长无法提问! Any help or assistance as to what is going on, if there are possible fixes (or not) would be greatly appreciated! 如果有(或没有)可能的修复,任何有关正在发生的事情的帮助或帮助将不胜感激!

This is the error with backtrace: 这是backtrace的错误:

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

You should downgrade ruby gems: 您应该将红宝石宝石降级:

$ gem install rubygems-update -v 1.3.5
$ update_rubygems --version=1.3.5

You may need the system administrator to do this for you if you don't have permissions. 如果您没有权限,则可能需要系统管理员为您执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM