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

            欧美久久亚洲精品| 国产精品一久久香蕉国产线看观看 | 色综合久久中文字幕无码| 久久久无码精品亚洲日韩蜜臀浪潮| 精品久久久久久久国产潘金莲| 亚洲精品无码成人片久久| 国产一久久香蕉国产线看观看| 国产精品午夜久久| 久久久av波多野一区二区| 精品久久人人做人人爽综合| 亚洲伊人久久精品影院| 精品久久人人做人人爽综合| 亚洲精品无码久久一线| 国内精品久久久久久中文字幕| 色婷婷久久综合中文久久蜜桃av| 国产精品99久久精品爆乳| 久久精品国产亚洲AV久| 国产999精品久久久久久| 亚洲午夜久久久久妓女影院 | 性欧美大战久久久久久久久| 久久夜色精品国产亚洲| 日韩精品无码久久久久久| 亚洲精品NV久久久久久久久久 | 久久久久亚洲精品无码蜜桃 | 五月丁香综合激情六月久久| 国产精品免费看久久久香蕉| 99国产精品久久| 欧美午夜精品久久久久免费视 | 波多野结衣AV无码久久一区| 久久丝袜精品中文字幕| 狠狠精品久久久无码中文字幕| 久久精品成人免费网站| 精品久久人妻av中文字幕| 综合人妻久久一区二区精品| 怡红院日本一道日本久久 | 亚洲AV日韩精品久久久久| 久久久久亚洲精品日久生情| 久久99热这里只频精品6| 亚洲综合久久久| 久久久久久精品久久久久| 亚洲欧美成人综合久久久|