Installing libyaml for ruby on a mac osX (Lion)

南楼画角 提交于 2019-11-30 10:00:38

Try this...

Open a new terminal window and:

cd .rvm/src
sudo rm -rf yaml*

(supply your credentials)

cd ~
rvm pkg install libyaml

The current release [was] LibYAML: 0.1.4 (2011-05-30) [in 2012 when I answered this question].

Download the source package: http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz.

To build and install LibYAML, run

  • $tar zxf yaml-0.1.4.tar.gz
  • $cd yaml-0.1.4
  • $ ./configure
  • $ make
  • $ make install

    OR just:

    $brew install libyaml

    Next, $brew install ruby

    Good luck.

  • This worked for me:

    Installing ruby with rvm for mac osx, use autolibs to install libyaml and first uninstalling libyaml helps.

    This worked for me:

    brew uninstall libyaml
    rvm autolibs enable
    rvm reinstall ruby-2.1.1
    
    标签
    易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
    该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!