{"id":664,"date":"2010-11-15T13:20:48","date_gmt":"2010-11-15T21:20:48","guid":{"rendered":"https:\/\/accretiondisc.com\/blog\/?p=664"},"modified":"2010-11-23T21:58:53","modified_gmt":"2010-11-24T05:58:53","slug":"irb-with-readline-on-mac-using-rvm","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2010\/11\/15\/irb-with-readline-on-mac-using-rvm\/","title":{"rendered":"irb with readline on mac using rvm"},"content":{"rendered":"<p>On the Mac, <em>irb<\/em> doesn&#8217;t come with <em>readline<\/em> baked in. But you can fix that with<\/p>\n<blockquote>\n<pre>$ rvm install 1.8.7 -C \\\r\n   --enable-shared,--with-readline-dir=\/opt\/local<\/pre>\n<\/blockquote>\n<p>Kudus: <a href=\"http:\/\/blog.plataformatec.com.br\/2010\/05\/accented-chars-in-irb-with-rvm-and-ruby-1-8-7\/\">Plataformatec<\/a>, who uses <a href=\"http:\/\/mxcl.github.com\/homebrew\/\">Homebrew<\/a> and thus <tt>\/usr\/local<\/tt> rather than <tt>\/opt\/local<\/tt>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On the Mac, irb doesn&#8217;t come with readline baked in. But you can fix that with $ rvm install 1.8.7 -C \\ &#8211;enable-shared,&#8211;with-readline-dir=\/opt\/local Kudus: Plataformatec, who uses Homebrew and thus \/usr\/local rather than \/opt\/local.<\/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":[208,207,96,170,206,200],"class_list":["post-664","post","type-post","status-publish","format-standard","hentry","category-technology","tag-homebrew","tag-irb","tag-mac-2","tag-macports","tag-readline","tag-ruby-2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-aI","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/664","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=664"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/664\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}