Skip to content

Instantly share code, notes, and snippets.

@tomas-stefano
Created October 28, 2010 19:34
Show Gist options
  • Select an option

  • Save tomas-stefano/652159 to your computer and use it in GitHub Desktop.

Select an option

Save tomas-stefano/652159 to your computer and use it in GitHub Desktop.
lib_dir = File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment