• <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)  編輯 收藏 引用

            综合久久给合久久狠狠狠97色| 精品视频久久久久| 久久精品国产99国产精品亚洲| 性做久久久久久久久老女人| 日本精品一区二区久久久| 亚洲国产精品成人久久蜜臀| 久久久久久久久久久精品尤物| 亚洲欧美伊人久久综合一区二区| 亚洲精品tv久久久久久久久| 久久精品国产亚洲网站| 久久国产精品无码网站| 婷婷伊人久久大香线蕉AV | 久久综合给合久久狠狠狠97色69| 久久人人妻人人爽人人爽| 国产精品综合久久第一页| 久久久久亚洲AV无码专区首JN| 国产精品久久久久影视不卡| 日日狠狠久久偷偷色综合0| 日本人妻丰满熟妇久久久久久| 94久久国产乱子伦精品免费| 亚洲中文久久精品无码| 久久精品国产黑森林| 日本强好片久久久久久AAA| 久久乐国产精品亚洲综合| 久久国产精品成人影院| 久久人人爽人人爽人人片AV东京热 | 久久毛片一区二区| 93精91精品国产综合久久香蕉 | 精品国产婷婷久久久| 久久夜色精品国产网站| 久久亚洲精品无码aⅴ大香| 久久91精品综合国产首页| 国产精品久久久久久久| 国产精品久久久久久久久久影院| 国产高潮国产高潮久久久91| 国产精品久久亚洲不卡动漫| 无码国内精品久久人妻| 无码精品久久久久久人妻中字| 亚洲日本va中文字幕久久| 久久精品国产一区二区三区| 精品久久久久久久久久久久久久久|