defunkt/gist — pull request #68 by tomykaira (2011-12-06 08:33:42+00:00)
Title: Fix packing order on creating standalone executable

Modules should be placed before main (content of gist.rb) because gist.rb try
to require 'gist/manpage' and 'gist/version', and fail if modules are not
defined.

This patch ensure that the modules are placed before main in standalone file
by seeking module directory first.