2012-10-26 2 views
2

우분투 12.10에 foodcritic gem을 설치하려고합니다. 그것은 우분투 12.04에 성공적으로 설치 될 수 있습니다. ,libxslt를-DEV , ruby1.9.3 패키지를 만들 libxml2를-DEV : 내가 요구 사항을 설치했습니다.Nokogiri (v.1.5.0.) Gem in Ubuntu 설치 12.10

compiling xml_xpath_context.c 
xml_xpath_context.c: In function ‘xpath_generic_exception_handler’: 
xml_xpath_context.c:184:3: error: format not a string literal and no format arguments [-Werror=format-security] 
cc1: some warnings being treated as errors 
make: *** [xml_xpath_context.o] Error 1 

Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0 for inspection. 
Results logged to /usr/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out 

노코 기리-1.5.0 보석 foodcritic에 대한 요구 사항이며 실패 instllation입니다입니다 : 지금은

sudo gem install foodcritic 

을 시도 할 때 나는 다음과 같은 오류가 발생합니다. 어떻게 foodcritic을 설치할 수 있습니까?

답변