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

            国产V综合V亚洲欧美久久| 亚洲精品视频久久久| 久久久久久综合网天天| 色综合久久综合中文综合网| 99久久精品费精品国产一区二区 | 97精品伊人久久久大香线蕉| 99久久久精品| 久久精品国产一区二区电影| 久久亚洲精品成人av无码网站| 99久久精品国产综合一区| 午夜精品久久久久久99热| 久久精品无码一区二区日韩AV| 日本久久久久亚洲中字幕| 四虎国产精品免费久久| A狠狠久久蜜臀婷色中文网| 久久久久亚洲AV成人网人人网站 | 国产精品99久久久久久董美香| 亚洲午夜福利精品久久| 97久久精品人人澡人人爽| 亚洲国产精品一区二区三区久久| 精品久久久久久国产91| 人妻精品久久久久中文字幕一冢本| 性做久久久久久久久| 日日狠狠久久偷偷色综合免费| 久久99精品久久久久久秒播| 欧美综合天天夜夜久久| 日本道色综合久久影院| 久久九九青青国产精品| 狠狠色丁香婷综合久久| 久久精品国产精品青草| 精品久久久久久久久中文字幕| 国产成人综合久久综合| 久久777国产线看观看精品| 久久99中文字幕久久| AA级片免费看视频久久| 久久高清一级毛片| 99久久精品免费观看国产| 久久久久久久久久免免费精品| 精品久久久久久久久久中文字幕 | 国产精品午夜久久| 香蕉久久夜色精品国产小说|