{"id":1847,"date":"2009-02-28T15:23:10","date_gmt":"2009-02-28T15:23:10","guid":{"rendered":"http:\/\/justthesam.com\/2009\/02\/ruby-gem-server\/"},"modified":"2009-02-28T15:23:10","modified_gmt":"2009-02-28T15:23:10","slug":"ruby-gem-server","status":"publish","type":"post","link":"https:\/\/justthesam.com\/?p=1847","title":{"rendered":"Ruby: gem server"},"content":{"rendered":"<p>Did you know that you can simply type &quot;gem server&quot; at your command line to start up a web server on port 8808 that presents all the built-in documentation for your installed gems?<\/p>\n<div><\/p>\n<div>This seems to be a little known fact among Ruby programmers, but worth a lot I reckon. I have rediscovered this feature a couple of times and it&#39;s enormously useful, especially when working on the train so having to rely on local documentation. It certainly beats ri for many things.<\/div>\n<p><\/p>\n<div style=\"text-align: center;\"><a href=\"http:\/\/justthesam.com\/wp-content\/tp\/6a00e5550e015888340112791439c228a4\" onclick=\"window.open(this.href,&#39;_blank&#39;,&#39;scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0&#39;); return false\" style=\"display: inline;\"><img decoding=\"async\" alt=\"Picture 6\" class=\"at-xid-6a00e5550e015888340112791439c228a4 \" src=\"http:\/\/justthesam.com\/wp-content\/tp\/6a00e5550e015888340112791439c228a4-500wi\" style=\"width: 500px; \" title=\"Picture 6\" \/><\/a><br \/>\n<\/div>\n<div style=\"text-align: left;\">Oh and that&#39;s the new Safari 4 beta, if you&#39;re confused by the look of the browser window in this screenshot!<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Did you know that you can simply type &quot;gem server&quot; at your command line to start up a web server on port 8808 that presents all the built-in documentation for your installed gems? This seems to be a little known fact among Ruby programmers, but worth a lot I reckon. I have rediscovered this feature [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23,33],"tags":[],"class_list":["post-1847","post","type-post","status-publish","format-standard","hentry","category-programming","category-ruby","category-webtech"],"_links":{"self":[{"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/posts\/1847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/justthesam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1847"}],"version-history":[{"count":0,"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/posts\/1847\/revisions"}],"wp:attachment":[{"href":"https:\/\/justthesam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/justthesam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/justthesam.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}