2014-04-07 4 views
7
내가 카피 바라 - 웹킷은 QT 라이브러리를 필요로하는 설치, 내가 가서 그때 번들 모든했다

레일 : 심리학, 0.1.4

brew update 
brew install qt 
brew linkapps 

다음 명령을 사제를 사용하여 설치에 필요한

에서 libyaml 업데이트 capybara-webkit과 잘 어울립니다. 그러나, 내 경비가 아래의 경고를 던지고있다.

You appear to have an outdated version of libyaml (0.1.4) installed on your system. 

    Prior to 0.1.6, libyaml is vulnerable to a heap overflow exploit from malicious YAML payloads. 


    The easiest thing to do right now is probably to update Psych to the latest version and enable 
    the 'bundled-libyaml' option, which will install a vendored libyaml with the vulnerability patched: 

    gem install psych -- --enable-bundled-libyaml 

충분히 단순 해 보였습니다. 그러나 'bundled-libyaml'옵션을 사용하여 성공적인 설치를 한 후에도 구식 libyaml에 대한 경고가 표시됩니다. 또한, psyche (ruby -rpsych -e 'p Psych.libyaml_version')와 관련된 libyaml의 버전을 확인할 때 여전히 1.4입니다.

아이디어가 있으십니까?

답변

6

시도 : 나를 위해

brew upgrade libyaml 

작품.

+4

나를 위해 작동하지 않았다 libyaml – Karl

0
brew update libyaml 

나를 위해 작동하지 않았다 하지만

rvm get stable 

는 않았다.

+0

의 최신 버전에 액세스하려면 '양조 업데이트'를 실행해야합니다. – ardochhigh

0

우분투에서는이 기능이 저에게 효과적이었습니다. 모든 루비를 다시 설치하므로 시간이 걸릴 수 있습니다.

rvm pkg install libyaml 
rvm reinstall all --force 

샘플 실행

rvm pkg install libyaml 

Beware, 'rvm pkg ...' is deprecated, read about the new autolibs feature: 'rvm help autolibs'. 

Checking requirements for ubuntu. 
Requirements installation successful. 
Fetching yaml-0.1.6.tar.gz to /home/assay/.rvm/archives 
    % Total % Received % Xferd Average Speed Time Time  Time Current 
          Dload Upload Total Spent Left Speed 
100 491k 100 491k 0  0 142k  0 0:00:03 0:00:03 --:--:-- 481k 
No checksum for downloaded archive, recording checksum in user configuration. 
Extracting yaml to /home/assay/.rvm/src/yaml-0.1.6... 
Prepare yaml in /home/assay/.rvm/src/yaml-0.1.6.. 
Configuring yaml in /home/assay/.rvm/src/yaml-0.1.6.......... 
Compiling yaml in /home/assay/.rvm/src/yaml-0.1.6................... 
Installing yaml to /home/assay/.rvm/usr....... 

Please note that it's required to reinstall all rubies: 

    rvm reinstall all --force 
+0

죄송합니다. 이것은 나를 위해 작동하지 않았다. – Virtual