{"id":815,"date":"2012-08-20T13:23:31","date_gmt":"2012-08-20T21:23:31","guid":{"rendered":"https:\/\/accretiondisc.com\/blog\/?p=815"},"modified":"2012-08-20T13:23:33","modified_gmt":"2012-08-20T21:23:33","slug":"more-rbenv-notes","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2012\/08\/20\/more-rbenv-notes\/","title":{"rendered":"More rbenv notes"},"content":{"rendered":"<p>My last post on rbenv mentioned some things you need to do to <a href=\"https:\/\/accretiondisc.com\/blog\/2012\/08\/18\/rbenv-notes\/\">get ruby to build on Mountain Lion<\/a>. Here are a few more things.<\/p>\n<p>This guy Jacob Swanner didn&#8217;t want to use either Xcode or gcc. He just used the Xcode command-line tools, with a <code>CC<\/code> environment variable, thus:<\/p>\n<blockquote>\n<pre>$ CC=\/usr\/bin\/clang rbenv install 1.9.3-p194\n$ rbenv global 1.9.3-p194<\/pre>\n<\/blockquote>\n<p>That won&#8217;t work with older versions of Ruby, however, <a href=\"https:\/\/accretiondisc.com\/blog\/2012\/08\/18\/rbenv-notes\/\">as I mentioned before<\/a>.<\/p>\n<p>I noted he is also a Homebrew user. I&#8217;m not yet ready to go there, although macports gets more and more frustrating with each OS release. (I&#8217;m <a href=\"http:\/\/www.jwz.org\/blog\/2012\/07\/xscreensaver-5-19\/\">not alone<\/a>.) (But that&#8217;s a subject for some other time.)<\/p>\n<p>And, for convenience, here&#8217;s <a href=\"http:\/\/robots.thoughtbot.com\/post\/27985816073\/the-hitchhikers-guide-to-riding-a-mountain-lion\">another Homebrewer&#8217;s notes<\/a> on how to get ruby building again with Mountain Lion<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My last post on rbenv mentioned some things you need to do to get ruby to build on Mountain Lion. Here are a few more things. This guy Jacob Swanner didn&#8217;t want to use either Xcode or gcc. He just used the Xcode command-line tools, with a CC environment variable, thus: $ CC=\/usr\/bin\/clang rbenv install [&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":[631,208,96,544,555],"class_list":["post-815","post","type-post","status-publish","format-standard","hentry","category-technology","tag-brew","tag-homebrew","tag-mac-2","tag-mountain-lion","tag-rbenv"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-d9","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/815","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=815"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/815\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}