RedMine + gem_dependency.rb:119:警告:Gem :: Dependency#version_requirements已弃用,并将在2010年8月或之后删除
/ redmine $ ruby脚本/服务器-e生产
=>正在启动WEBrick
=>从http://0.0.0.0:3000开始的Rails 2.3.5应用程序
/home/siya/.rvm/gems/ruby-1.8.7-p330/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:警告:Gem :: Dependency#version_requirements已弃用,将被删除在2010年8月或之后。使用#requirement
/home/siya/.rvm/gems/ruby-1.8.7-p330/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:589:in
real_connect\': Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (2) (Mysql::Error)
from /home/siya/.rvm/gems/ruby-1.8.7-p330/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:589:in
connect\'
重新启动应用程序时会发生此问题。实际上,昨天运行良好。但是今天我尝试了很多并搜索了网络,但没有成功。
谷歌搜索后,我得到一个命令来更新系统,即ie1ѭ
现在出现新错误:
/home/siya/.rvm/gems/ruby-1.8.7-p330/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
from /home/siya/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require\'
没有找到相关结果
已邀请:
2 个回复
雄鞋谋塘
您还需要更新environment.rb中的依赖项,以将RAILS_GEM_VERSION设置为2.3.11。
测试! Rails升级似乎很少是无缝的。您确实有大量的单元测试套件,不是吗... :)
搜洼挂时