{"id":814,"date":"2012-08-18T16:56:19","date_gmt":"2012-08-19T00:56:19","guid":{"rendered":"https:\/\/accretiondisc.com\/blog\/?p=814"},"modified":"2012-08-18T16:56:21","modified_gmt":"2012-08-19T00:56:21","slug":"rbenv-notes","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2012\/08\/18\/rbenv-notes\/","title":{"rendered":"rbenv notes"},"content":{"rendered":"<p>I used to use <a href=\"https:\/\/rvm.io\/\">rvm<\/a> to manage my ruby environment, but the latest hotness seems to be <a href=\"https:\/\/github.com\/sstephenson\/rbenv\/\">rbenv<\/a>. Here are some tips about using it. They&#8217;re aimed at me, because by the next time I need to use it, I&#8217;ll have forgotten. But you can read them too:<\/p>\n<p>One of the things you want is <a href=\"https:\/\/github.com\/sstephenson\/ruby-build\">rbenv-build<\/a>:<\/p>\n<blockquote><p>Installing ruby-build as an rbenv plugin will give you access to the rbenv install command.<\/p>\n<pre>$ mkdir -p ~\/.rbenv\/plugins\n$ cd ~\/.rbenv\/plugins\n$ git clone git:\/\/github.com\/sstephenson\/ruby-build.git\n<\/pre>\n<p>(Note the assumption you&#8217;re using <a href=\"https:\/\/help.github.com\/articles\/set-up-git\">git<\/a>. I don&#8217;t know what people who prefer mercurial are supposed to do.)<\/p>\n<p>This will install the latest development version of ruby-build into the ~\/.rbenv\/plugins\/ruby-build directory. From that directory, you can check out a specific release tag. To update ruby-build, run <code>git pull<\/code> to download the latest changes.<\/p><\/blockquote>\n<p>But that won&#8217;t work with Mountain Lion. So you&#8217;ll need a version of ruby that can be <a href=\"https:\/\/github.com\/sstephenson\/ruby-build\/issues\/129\">built with clang<\/a>.<\/p>\n<blockquote>\n<pre>$ rbenv install 1.9.3-p125<\/pre\n><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I used to use rvm to manage my ruby environment, but the latest hotness seems to be rbenv. Here are some tips about using it. They&#8217;re aimed at me, because by the next time I need to use it, I&#8217;ll have forgotten. But you can read them too: One of the things you want is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[52],"tags":[630,629,555,200,628],"class_list":["post-814","post","type-post","status-publish","format-standard","hentry","category-technology","tag-admin","tag-git","tag-rbenv","tag-ruby-2","tag-rvm"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-d8","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/comments?post=814"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/814\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}