{"id":591,"date":"2007-02-21T20:05:29","date_gmt":"2007-02-22T01:05:29","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/hoanga\/2007\/02\/21\/finally-a-gem-release-of-ruby-opengl\/"},"modified":"2007-03-06T08:18:04","modified_gmt":"2007-03-06T13:18:04","slug":"finally-a-gem-release-of-ruby-opengl","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/hoanga\/2007\/02\/21\/finally-a-gem-release-of-ruby-opengl\/","title":{"rendered":"Finally a gem release of ruby-opengl"},"content":{"rendered":"<p>Just wanted to let folks know that I&#8217;ve finally figured out how to get the build system in place for <a href=\"http:\/\/ruby-opengl.rubyforge.org\/\">ruby-opengl<\/a> to:<\/p>\n<ul>\n<li>Gemify itself<\/li>\n<li>Build native extensions during Gem installation using mkrf<\/li>\n<\/ul>\n<p>Which means (I hope) that there should be an easier way to get <a href=\"http:\/\/www.opengl.org\">OpenGL<\/a> working with <a href=\"http:\/\/ruby-lang.org\">Ruby<\/a>.  Currently it should support installing in Linux and OS X.  Installation should be as difficult as:<\/p>\n<blockquote><p>\ngem install -y ruby-opengl\n<\/p><\/blockquote>\n<p>Deinstallation should be similar.<\/p>\n<p>\nFor win32 users, I&#8217;d suggest using the old bindings provided with the all-in-one installer although I&#8217;d like to get a gem built for win32 so hopefully it can get included in the all-in-one installer.\n<\/p>\n<h4>References<\/h4>\n<ul>\n<li><a href=\"http:\/\/rb-opengl.darwinports.com\/\">rb-opengl in Darwin.. err MacPorts<\/a><\/li>\n<li><a href=\"http:\/\/www.chaoticdust.com\/oblivious\/2006\/10\/18\/answer-one-how-can-i-use-opengl-in-ruby-on-the-mac\/\">An older way to get OpenGL in Ruby on OS X working<\/a><\/li>\n","protected":false},"excerpt":{"rendered":"<p>Just wanted to let folks know that I&#8217;ve finally figured out how to get the build system in place for ruby-opengl to: Gemify itself Build native extensions during Gem installation using mkrf Which means (I hope) that there should be an easier way to get OpenGL working with Ruby. Currently it should support installing in [&hellip;]<\/p>\n","protected":false},"author":703,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1101,1100,1029,1214,972,615],"tags":[],"class_list":["post-591","post","type-post","status-publish","format-standard","hentry","category-geek","category-linux","category-open-source","category-osx","category-programming","category-ruby"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/users\/703"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/comments?post=591"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/591\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/media?parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/categories?post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/tags?post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}