Skip to content

Instantly share code, notes, and snippets.

@kwstannard
Created August 13, 2014 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwstannard/ebef8b81b04be45487f6 to your computer and use it in GitHub Desktop.
Save kwstannard/ebef8b81b04be45487f6 to your computer and use it in GitHub Desktop.
automatically add lib dir to ruby load path
file=Pathname.new(Dir.pwd+'/lib')
if(file.exist?)
$:.unshift(file.to_s)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment