나는 다음과 같은 오류 받고 있어요 :보석을 활성화 할 수 없습니다 :이 보석에 어떤 보석이 있는지 어떻게 알 수 있습니까?
Gem::Exception: can't activate hpricot (= 0.6.161, runtime),
already activated hpricot-0.8.3
0.6 로컬 설치되어, 0.8.3은 내 응용 프로그램에 고정된다.
이 내 "스택 트레이스"입니다 :
Loading production environment (Rails 2.3.10)
/software/ruby-ror-gem-1.3.1/lib/rubygems.rb:149:in `activate':Gem::Exception: can't activate hpricot (= 0.6.161, runtime), already activated hpricot-0.8.3
/e/app/www.example.com/rails/releases/20101117142713/vendor/rails/railties/lib/console_with_helpers.rb:5:NameError: uninitialized constant ApplicationController
가 어떻게 보석 또는 라이브러리가 Hpricot을 0.6에 종속 알아낼 수 있습니까?
나는 아래 user438962의 명령의 출력 추가 한 : 당신이 Bundler 프로그램을 사용하는 경우, 당신은이 문제를 방지
을{"daemons-1.0.9"=>[],
"scgi_dp_rails-0.0.5"=>["preforkdp", "daemons"],
"rails-2.3.10"=>[],
"rwfd-0.1.0"=>[],
"nokogiri-1.3.2"=>["racc", "rexical", "rake-compiler", "hoe"],
"activesupport-2.3.10"=>[],
"rack-1.0.1"=>
["test-spec",
"camping",
"fcgi",
"memcache-client",
"mongrel",
"ruby-openid",
"thin"],
"rack-1.1.0"=>
["test-spec", "camping", "fcgi", "memcache-client", "mongrel", "thin"],
"preforkdp-0.1.2"=>["rwfd"],
"activerecord-2.3.10"=>[],
"hpricot-0.6.161"=>[],
"cgi_multipart_eof_fix-2.5.0"=>[],
"fastthread-1.0.1"=>[],
"gem_plugin-0.2.3"=>[],
"activeresource-2.3.10"=>[],
"ferret-0.11.6"=>["rake"],
"mysql-2.7"=>[],
"actionmailer-2.3.10"=>[],
"actionpack-2.3.10"=>[],
"hpricot-0.8.3"=>[],
"mongrel_upload_progress-0.2.2"=>["mongrel", "gem_plugin"],
"mongrel-1.1.3"=>
["gem_plugin", "daemons", "fastthread", "cgi_multipart_eof_fix"],
"mongrel_cluster-1.0.5"=>["gem_plugin", "mongrel"],
"rake-0.8.4"=>[],
"haml-2.0.9"=>[],
"remvee-mini_magick-1.2.3.4.0"=>[]}
스택 추적이 있습니까? 또한 rvm을 사용하여 이러한 일이 발생하지 않도록하는 것이 좋습니다. http://rvm.beginrescueend.com/ – Thilo
질문에 추가 된 매우 짧은 스택 추적이 있습니다. 그리고 저는 rvm을 좋아하지만이 서버에 설치할 수는 없습니다. –
이 질문은 매우 구체적이며 닫힐 수 있습니다. –