﻿{"id":75,"date":"2014-04-09T11:02:06","date_gmt":"2014-04-09T07:02:06","guid":{"rendered":"http:\/\/fewit.ru\/?p=75"},"modified":"2014-04-09T11:02:06","modified_gmt":"2014-04-09T07:02:06","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-ruby-1-9-3-%d0%b8%d0%bb%d0%b8-%d0%bb%d1%8e%d0%b1%d0%be%d0%b9-%d0%b4%d1%80%d1%83%d0%b3%d0%be%d0%b9-%d0%b2%d0%b5%d1%80%d1%81%d0%b8%d0%b8-%d0%bd","status":"publish","type":"post","link":"https:\/\/fewit.ru\/?p=75","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Ruby 1.9.3 (\u0438\u043b\u0438 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ) \u043d\u0430 CentOS, RedHat \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f RVM"},"content":{"rendered":"<p>\u0428\u0430\u0433 1: \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u044b<\/p>\n<pre># yum update<\/pre>\n<p>\u0428\u0430\u0433 2: \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b<\/p>\n<pre>\r\n# yum install gcc-c++ patch readline readline-devel zlib zlib-devel \r\n# yum install libyaml-devel libffi-devel openssl-devel make \r\n# yum install bzip2 autoconf automake libtool bison iconv-devel\r\n<\/pre>\n<p>\u0428\u0430\u0433 3: \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c RVM ( Ruby Version Manager )<\/p>\n<pre># curl -L get.rvm.io | bash -s stable<\/pre>\n<p>\u0428\u0430\u0433 4: \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 RVM Environment<\/p>\n<pre># source \/etc\/profile.d\/rvm.sh<\/pre>\n<p>\u0428\u0430\u0433 5: \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e Ruby<\/p>\n<pre># rvm install 1.9.3<\/pre>\n<p>\u0428\u0430\u0433 6: \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0434\u0443\u0440\u0433\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ( \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e )<\/p>\n<pre># rvm install 1.8.6<\/pre>\n<p>\u0428\u0430\u0433 7: \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0432\u0435\u0440\u0441\u0438\u044e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/p>\n<pre># rvm use 1.9.3 --default <\/pre>\n<p>\u0428\u0430\u0433 8:\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0432\u0435\u0440\u0441\u0438\u044e Ruby<\/p>\n<pre># ruby --version\r\n\r\nruby 1.9.3p545 (2014-02-24 revision 45159) [i686-linux]\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0428\u0430\u0433 1: \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u044b # yum update \u0428\u0430\u0433 2: \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b # yum install gcc-c++ patch readline readline-devel zlib<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=75"}],"version-history":[{"count":1,"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":76,"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts\/75\/revisions\/76"}],"wp:attachment":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}