• <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 大龍 閱讀(1488) 評論(0)  編輯 收藏 引用

            93精91精品国产综合久久香蕉| 91精品国产91热久久久久福利| 中文字幕无码久久久| 一本色道久久88综合日韩精品 | 久久这里有精品| 久久久久久毛片免费播放| 亚洲国产精品久久久久久| 波多野结衣久久精品| 99久久久精品免费观看国产| 狠狠色综合久久久久尤物 | 成人久久综合网| 一级A毛片免费观看久久精品| 欧洲精品久久久av无码电影| 久久精品国产精品亜洲毛片| 久久亚洲私人国产精品| 人妻丰满?V无码久久不卡| 99久久国语露脸精品国产| 久久综合久久综合亚洲| 国产精品一区二区久久精品无码| 久久久亚洲裙底偷窥综合| 久久久这里有精品中文字幕| 国产亚洲精久久久久久无码| 色妞色综合久久夜夜| 香港aa三级久久三级老师2021国产三级精品三级在 | 国产婷婷成人久久Av免费高清 | 久久婷婷五月综合成人D啪| 国产精品无码久久久久| 72种姿势欧美久久久久大黄蕉| 77777亚洲午夜久久多人| 2020久久精品亚洲热综合一本| 国产一区二区三精品久久久无广告| A狠狠久久蜜臀婷色中文网| 亚洲成色www久久网站夜月| 伊人久久大香线蕉av一区| 久久亚洲国产成人影院| 久久久国产99久久国产一| 亚洲精品久久久www| 伊人久久久AV老熟妇色| 亚洲级αV无码毛片久久精品| 97精品依人久久久大香线蕉97| 一本一本久久A久久综合精品|