Request To All Tutorial Writers 1

Posted by Justin Reagor Thu, 10 Jul 2008 01:09:00 GMT

From now on, if your writing this…
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

Instead, tell your readers to do this…

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

Make sure that your running specs that are passing before installing edge software.

Here’s another tip, if your trying to learn new software… or wondering why something isn’t working for you… check the specs! They are a great place to learn just exactly how the author approaches using the libraries they write.

Comments

Leave a response

  1. Avatar
    Mat Schaffer about 12 hours later:
    I second this for edge software. However I don't support running the test on stable releases (aside from educational reasons anyway). I can't tell you how many times I've been burned by the fact that CPAN insists on running tests before installing the perl mysql module.
Comments