<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.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>has_many :thoughts: Tag gems</title>
    <link>http://blog.kineticweb.com/articles/tag/gems</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Musings from a Ruby on Rails development team</description>
    <item>
      <title>Request To All Tutorial Writers</title>
      <description>From now on, if your writing this&amp;#8230;
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_shell "&gt;git clone git://github.com/sam/extlib.git  
git clone git://github.com/sam/do.git

cd extlib
rake install ; cd ..
cd do
cd data_objects
rake install ; cd ..
cd do_mysql  # || do_postgres || do_sqlite3
rake install&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Instead, tell your readers to do this&amp;#8230;&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_shell "&gt;git clone git://github.com/sam/extlib.git  
git clone git://github.com/sam/do.git

cd extlib
***rake spec***
rake install ; cd ..
cd do
cd data_objects
***rake spec***
rake install ; cd ..
cd do_mysql  # || do_postgres || do_sqlite3
rake install&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Make sure that your running specs that are passing before installing edge software.&lt;/p&gt;


	&lt;p&gt;Here&amp;#8217;s another tip, if your trying to learn new software&amp;#8230; or wondering why something isn&amp;#8217;t working for you&amp;#8230; check the specs! They are a great place to learn just exactly how the author approaches using the libraries they write.&lt;/p&gt;</description>
      <pubDate>Wed, 09 Jul 2008 21:09:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:fe6aa9b9-56dd-4902-bc07-5d6a5a15f283</guid>
      <author>Justin Reagor</author>
      <link>http://blog.kineticweb.com/articles/2008/07/09/request-to-all-tutorial-writers</link>
      <category>gems</category>
      <category>rspec</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Bad do_mysql-0.2.2 Gem</title>
      <description>&lt;p&gt;If your getting this error whilst attempting to load up DataMapper in Merb (the rake dm:install:mysql portion, or just gem install do_mysql). Here&amp;#8217;s how I fixed it&amp;#8230;&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_shell "&gt;Started merb_init.rb ...
Loading dependencies...
dyld: NSLinkModule() error
dyld: Library not loaded: /opt/local/lib/mysql5/mysql/libmysqlclient_r.15.dylib
  Referenced from: /usr/local/lib/ruby/gems/1.8/gems/do_mysql-0.2.2/lib/mysql_c.bundle
  Reason: image not found
Trace/BPT trap&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Try this&amp;#8230;&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_shell "&gt;# sudo -s
# cd /usr/local/lib/ruby/gems/1.8/gems/do_mysql-0.2.2/ext
# make clean
# vim mysql_c.i
[change any bad paths to correct mysql locations in your OS]
# make all
# rm ../lib/mysql_c.bundle
# cp mysql_c.bundle ../lib&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;DataMapper with MySQL should now work in Merb! Happy hacking once more&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Thu, 06 Dec 2007 23:04:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:a11409b1-25a8-49e7-966c-fe5b2464b89c</guid>
      <author>Justin Reagor</author>
      <link>http://blog.kineticweb.com/articles/2007/12/06/bad-do_mysql-0-2-2-gem</link>
      <category>merb</category>
      <category>gems</category>
      <category>ruby</category>
    </item>
  </channel>
</rss>
