Header01

"Life In The Stack Trace..."

Main_feature

About Me:

I am a developer and an entrepreneur. I have twenty plus years of experience in the field of computing. My experience spans many platforms, programming languages, and I am an advocate of the open-source world. Uniquely positioned in life, I search for application and service ideas that can be converted into profitable or open-source products. Most important to me is positive energy and accomplishment.

Recent Article:

Base Directories

Last updated: 03/13/2012 04:22:05 PM

DuckTest uses a root directory when looking for all files. By default, DuckTest::Config will use Rails.root as it's own root directory. In an attempt to help keep config files from being complicated and messy, DuckTest employs a base directory for runnable and non-runnable files.runnable_basedir is a base directory that should be located directly off of the {DuckTest::ConfigHelper#root root} directory and is automagically factored in when searching for files that are runnable.watch_basedir is a base that...



Runnable And Non-Runnable Files

Last updated: 03/11/2012 09:18:34 AM

DuckTest automagically runs tests by watching directories and files for changes. You define the files that are watched and ran using directives in a configuration file specific to your environment: test, development, production (BTW, running tests in production is not recommended). All attributes are configured inside a DuckTest.config block.Watched files are broken down into two categories: runnable and non-runnable.To understand all of the moving parts, it is important to explain how files are watched. The...

Support For My Blog Posts

Last updated: 03/10/2012 04:48:02 AM

My blog posts as well as screen casts tend to be straight to the point. Although I talk slow and stutter a bit I like to save time. You will notice that most of my posts are related to Rails apps. In the upper right corner on the page of each post you will see a Support Area. Most, but, not all posts will have links to videos, related references, and support files that you...

Install rtorrent 0.9.0 on Ubuntu

Last updated: 03/09/2012 04:55:07 AM

So, today I decided to install the latest version of rtorrent. I dug around most of the doc found at:http://libtorrent.rakshasa.no/and attempted to install stable version 0.8.0, however, I could not get it to compile, so, I decided to give the unstable version 0.9.0 a shot.I figured it would compile and install without a hitch as I have just have many development packages installed on my machine. There were two packages I needed to install to...

Determine Rails Autoload Paths

Last updated: 03/03/2012 05:38:38 PM

Determining the autoload path for your app at runtime is pretty simple.Create a Rails app.Edit config/application.rb and add the lib directory to the autoload paths.Fire up the Rails consoleAt the prompt, type:and you should see something like the following:It will work in any Rails environment: test, development, production....

Creating a Rails Edge App

Last updated: 02/29/2012 04:51:13 PM

So, I decided to create a Rails Edge app today to run some tests against the latest upcoming release. As per the Rails Guides, all that should be required to create a Rails app is the following command:However, things didn't work out as planned. Bundler was failing due to some type of dependency problem.I did not even try to figure out the source of the problem. I simply choose a workaround. All you need to...

Duck Test On The Mac

Last updated: 02/22/2012 11:05:53 AM

This is basically the same as my original blog post Duck Test Quick Start. The only difference is that I am running it on a Mac. I love the Mac. I wish I could afford one.Create a new rails app named test.comEdit test.com/Gemfile and add the following to your test groupRun bundleGenerate a scaffold with some tests, then, migrate and prepare the test environmentRun the Rails consoleEdit one of the test files: test/unit/book_test.rbLook at the...

Duck Test Quick Start

Last updated: 02/22/2012 11:05:30 AM

Duck Test facilitates running tests within the Rails IRB console. Running tests are essential to solid application development and the standard Rails mechanism for running tests does a fine job. However, as the Rails framework has matured coupled with the plethora of gems available to developers the start up of the Rails environment can increase to a point that can make TDD a bit painful. Ducktest runs within the Rails console allowing the developer to...