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

            欧美日韩精品久久免费| 国产—久久香蕉国产线看观看| 偷窥少妇久久久久久久久| 人人狠狠综合久久88成人| 色综合久久久久网| 久久久一本精品99久久精品88| 久久久久青草线蕉综合超碰| 麻豆精品久久久一区二区| 武侠古典久久婷婷狼人伊人| 久久精品国产久精国产| 亚洲精品国精品久久99热| a级成人毛片久久| 精品综合久久久久久98| 国内精品久久久久久中文字幕| 欧美亚洲色综久久精品国产| 色综合久久久久| 国产精品久久国产精麻豆99网站| 亚洲精品成人网久久久久久| 999久久久国产精品| 国产精品美女久久久久网| 亚洲精品无码成人片久久| 天天综合久久一二三区| 狠狠色综合久久久久尤物| 久久精品国产亚洲av麻豆色欲| 亚洲人AV永久一区二区三区久久| 嫩草影院久久99| 99久久伊人精品综合观看| 91视频国产91久久久| 久久99国产综合精品| 久久综合综合久久综合| 亚洲人成伊人成综合网久久久| 亚洲日韩欧美一区久久久久我 | 亚洲国产日韩欧美久久| 99久久无码一区人妻| 久久免费国产精品一区二区| 国产精品99久久免费观看| 国产精品禁18久久久夂久| 精品一区二区久久| 国产午夜福利精品久久| 久久精品国产精品亚洲下载| 国产精品午夜久久|