• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            大龍的博客

            常用鏈接

            統計

            最新評論

            Install Ruby 1.9.3 with libyaml on CentOS(轉)

            Ruby 1.9.3-p0 makes psych—the replacement for 1.8.7’s YAML library, Syck—the default YAML parser. Psych is a wrapper around libyaml, so you’re going to need it installed and configured before installing Ruby.

            If you install 1.9.3-p0 without libyaml, you’ll see warnings like this:

            It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby.

            Installing libyaml

            $ wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
            $ tar xzvf yaml-0.1.4.tar.gz
            $ cd yaml-0.1.4
            $ ./configure --prefix=/usr/local
            $ make
            $ make install

            Quick review of what’s going on: download and untar the source code, change to the directory and install the package. You may need to sudo the make install command. Your mileage may vary.

            Installing Ruby 1.9.3-p0

            $ wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
            $ tar xzvf ruby-1.9.3-p0.tar.gz
            $ cd ruby-1.9.3-p0
            $ ./configure --prefix=/usr/local --enable-shared --disable-install-doc --with-opt-dir=/usr/local/lib
            $ make
            $ make install

            After installing, you can verify that Ruby was installed with ruby -v. It’s also worth trying gem --version to make sure you don’t get any errors regarding psych.

            I tried installing libyaml-devel and libyaml from Yum, but couldn’t get ruby installed and recognizing those packages. Out of frustration, I turned to installing libyaml by source and it Just Worked™

            posted on 2012-10-29 12:37 大龍 閱讀(1489) 評論(0)  編輯 收藏 引用

            伊人久久综在合线亚洲2019| 久久99九九国产免费看小说| 99国产精品久久| 中文字幕成人精品久久不卡| 色婷婷综合久久久久中文字幕| 欧美亚洲国产精品久久高清| 97久久综合精品久久久综合| 91精品国产高清久久久久久国产嫩草| 精品久久久久久久国产潘金莲| 久久精品人人做人人爽电影蜜月| 国产福利电影一区二区三区久久老子无码午夜伦不 | 天天躁日日躁狠狠久久| 久久久久四虎国产精品| 久久精品国产亚洲AV蜜臀色欲| 久久r热这里有精品视频| 偷窥少妇久久久久久久久| 一本伊大人香蕉久久网手机| 狠狠综合久久综合88亚洲| 久久人人超碰精品CAOPOREN| 国产午夜精品理论片久久影视 | 国产精品激情综合久久| 久久天天躁狠狠躁夜夜96流白浆| 久久男人AV资源网站| 久久久精品免费国产四虎| 人妻无码久久一区二区三区免费 | 99久久人妻无码精品系列| 亚洲精品无码久久久久sm| 一本久久免费视频| 一本久道久久综合狠狠躁AV| 久久久久无码专区亚洲av| 亚洲国产成人久久综合一| 91麻精品国产91久久久久| 色综合久久最新中文字幕| 狠狠狠色丁香婷婷综合久久俺| 国产V亚洲V天堂无码久久久| 久久99国产综合精品| 国产亚洲欧美成人久久片| 久久不射电影网| 91秦先生久久久久久久| 99久久国产综合精品五月天喷水| 国产99久久久国产精免费|