{"id":2349,"date":"2019-02-28T17:30:42","date_gmt":"2019-02-28T17:30:42","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2349"},"modified":"2019-02-28T18:22:33","modified_gmt":"2019-02-28T18:22:33","slug":"install-ruby-2-1-2-via-rvm-on-centos","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/install-ruby-2-1-2-via-rvm-on-centos\/","title":{"rendered":"Install Ruby 2.6.1 via RVM on CentOS"},"content":{"rendered":"\n<p>Install Prerequisites <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum install -y curl gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make cmake bzip2 autoconf automake libtool bison libssh2-devel libicu-devel<\/pre>\n\n\n\n<p>Install RVM<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -L get.rvm.io | bash -s stable<\/pre>\n\n\n\n<p>Setup RVM, install Ruby 2.6.1 and set to default.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">source \/etc\/profile.d\/rvm.sh <br>rvm install 2.6.1 <br>rvm use --default 2.6.1<\/pre>\n\n\n\n<p>You may need to add root or the user your using to the rvm group<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo usermod -G rvm username<\/pre>\n\n\n\n<p>Pulled some of the info from here <a href=\"https:\/\/github.com\/ytti\/oxidized#installing-ruby-212-using-rvm\">https:\/\/github.com\/ytti\/oxidized#installing-ruby-212-using-rvm<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Prerequisites yum install -y curl gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make cmake bzip2 autoconf automake libtool bison libssh2-devel libicu-devel Install RVM curl -L get.rvm.io | bash -s stable Setup RVM, install Ruby 2.6.1 and set &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/install-ruby-2-1-2-via-rvm-on-centos\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,3],"tags":[17,417,7,593,592],"class_list":["post-2349","post","type-post","status-publish","format-standard","hentry","category-centos-linux","category-linux","tag-centos","tag-install","tag-linux-2","tag-ruby","tag-rvm"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2349"}],"version-history":[{"count":4,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2349\/revisions"}],"predecessor-version":[{"id":2354,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2349\/revisions\/2354"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}