无法启动Rubycas-Server

时间:2010-11-10 14:17:29

标签: ruby-on-rails ruby rubygems

当我尝试使用'rubycas-server'启动rubycas-server时,出现以下错误:

/usr/lib/ruby/site_ruby/1.8/rubygems.rb:779:in `report_activate_error': RubyGem version error: activesupport(3.0.1 not = 2.3.5) (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:214:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
from /usr/bin/rubycas-server:18

我也尝试过rubycas-server-ctl start --verbose,但我得到了同样的东西,除了最后一行是“来自/ usr / bin / ruby​​cas-server-ctl:18”。我只安装了activesupport 3.0.1。

1 个答案:

答案 0 :(得分:1)

安装activesupport 2.3.5并卸载activesupport 3.0.1

gem uninstall activesupport -v=3.0.1
gem install activesupport -v=2.3.5