• <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>

            大龍的博客

            常用鏈接

            統(tǒng)計

            最新評論

            Install Ruby 1.9.3 with libyaml on CentOS(轉(zhuǎn))

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


            只有注冊用戶登錄后才能發(fā)表評論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            久久人人爽人人澡人人高潮AV| …久久精品99久久香蕉国产| 久久人人爽人人爽AV片| 久久久精品人妻无码专区不卡| 久久伊人中文无码| 欧美一区二区三区久久综| 91精品国产9l久久久久| 国产69精品久久久久9999| 伊人久久精品影院| 久久精品国产精品亚洲精品| 久久激情五月丁香伊人| 久久综合狠狠综合久久综合88| AA级片免费看视频久久| 精品国产乱码久久久久久人妻| 99国产精品久久久久久久成人热| 理论片午午伦夜理片久久| 国产成人久久精品一区二区三区| 久久国产成人| 97精品国产97久久久久久免费| 久久99亚洲综合精品首页| 精品国产日韩久久亚洲| 99久久99久久精品国产片果冻| 精品熟女少妇AV免费久久| 久久综合九色综合久99| 大蕉久久伊人中文字幕| 国产精品毛片久久久久久久 | 久久久久久毛片免费看| 久久精品一区二区| AV狠狠色丁香婷婷综合久久| 久久精品中文无码资源站| 久久久久亚洲AV无码去区首| 2021国产成人精品久久| 国产精品久久亚洲不卡动漫| 精品久久久久久亚洲精品| 亚洲乱码中文字幕久久孕妇黑人 | 91久久福利国产成人精品| 国产高潮国产高潮久久久| 久久久久亚洲av无码专区| 久久精品欧美日韩精品| 久久久久99精品成人片直播| 久久久免费精品re6|