<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Juju: ruby-nxt 0.8.1 - Finally available as a Gem</title>
    <link>http://juju.org/articles/2006/11/03/ruby-nxt-0-8-1-finally-available-as-a-gem</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Sufficiently Advanced Technology</description>
    <item>
      <title>ruby-nxt 0.8.1 - Finally available as a Gem</title>
      <description>&lt;p&gt;I've been pretty busy lately so haven't had much time to work on &lt;a href="http://rubyforge.org/projects/ruby-nxt/"&gt;ruby-nxt&lt;/a&gt;.  However, tonight I had some time to finally get it packaged into a gem!  The main reason it took so long is because of some kind of weird bug with requiring &lt;a href="http://rubyforge.org/projects/ruby-serialport/"&gt;ruby-serialport&lt;/a&gt; and rubygems resulting in the following error:&lt;/p&gt;

&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;NameError: (eval):1:in `private_class_method': undefined method `create' for class `Class'
        from (eval):1
        from (eval):1
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from (irb):2&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;For some reason, it doesn't like rubygem's custom require code.  So I got around it by doing a Kernel::require "serialport".&lt;/p&gt;

&lt;p&gt;Unfortunately, there's really no way to include ruby-serialport in the ruby gem, so you'll still have to download and install that seperately.  Once serialport is installed, all you should have to do is sudo gem install ruby-nxt.  Then in your code require "rubygems" then require "nxt_comm" or require "nxt" depending on how you want to use it.&lt;/p&gt;

&lt;p&gt;The 0.8.1 release doesn't have anything new in terms of features, however you might want to take a look at examples/drb_server.rb ;)&lt;/p&gt;</description>
      <pubDate>Fri, 03 Nov 2006 23:05:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:301933c7-d6ea-4bde-a586-38faba100582</guid>
      <author>Tony Buser</author>
      <link>http://juju.org/articles/2006/11/03/ruby-nxt-0-8-1-finally-available-as-a-gem</link>
      <category>Code</category>
      <category>Mindstorms</category>
      <category>Robots</category>
      <category>Ruby</category>
      <trackback:ping>http://juju.org/articles/trackback/875</trackback:ping>
    </item>
    <item>
      <title>"ruby-nxt 0.8.1 - Finally available as a Gem" by radix</title>
      <description>&lt;p&gt;Hey cool, this is very useful :)&lt;/p&gt;

&lt;p&gt;I wrote a simple bulk usb driver for nxt for linux (i am using usb to communicate with my nxt), so I don't really need serial stuff -just reading/writing from /dev/legonxt using some of your code.&lt;/p&gt;</description>
      <pubDate>Thu, 23 Nov 2006 15:34:20 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:b52cb5c4-7d93-4217-9dba-e8548b07ed37</guid>
      <link>http://juju.org/articles/2006/11/03/ruby-nxt-0-8-1-finally-available-as-a-gem#comment-881</link>
    </item>
    <item>
      <title>"ruby-nxt 0.8.1 - Finally available as a Gem" by Tony+Buser</title>
      <description>&lt;p&gt;What error do you get?&lt;/p&gt;</description>
      <pubDate>Mon, 13 Nov 2006 11:38:27 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:e847d5cd-bdba-4218-9550-50d0c0abd979</guid>
      <link>http://juju.org/articles/2006/11/03/ruby-nxt-0-8-1-finally-available-as-a-gem#comment-879</link>
    </item>
    <item>
      <title>"ruby-nxt 0.8.1 - Finally available as a Gem" by Nick Kijak</title>
      <description>&lt;p&gt;I think nxt.rb's requires are wrong in the gem for the light&lt;em&gt;sensor and ultrasonic&lt;/em&gt;sensor. I got an error with the gem, but when I dl'd the code and changed the paths it worked OK.&lt;/p&gt;</description>
      <pubDate>Sun, 12 Nov 2006 13:55:27 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:408bdc05-7978-4da2-980f-87b42b10c72f</guid>
      <link>http://juju.org/articles/2006/11/03/ruby-nxt-0-8-1-finally-available-as-a-gem#comment-877</link>
    </item>
    <item>
      <title>"ruby-nxt 0.8.1 - Finally available as a Gem" by Jake Good</title>
      <description>&lt;p&gt;nice job! congrats on the gem release...&lt;/p&gt;</description>
      <pubDate>Sun, 05 Nov 2006 12:42:46 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:e8f24a52-e91a-4076-afec-a97d32673779</guid>
      <link>http://juju.org/articles/2006/11/03/ruby-nxt-0-8-1-finally-available-as-a-gem#comment-876</link>
    </item>
  </channel>
</rss>
