0

我们的 VPS 刚刚从 Debian Squeeze 和 php 5.2 升级到 Ubuntu 和 php 5.5,我们的网站(用 Ruby 编码)现在出现了各种有趣的错误:

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

这是更改内容的链接: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
4

1 回答 1

0

您应该降级红宝石:

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

如果您没有权限,您可能需要系统管理员为您执行此操作。

于 2016-05-19T18:02:12.140 回答