Skip to content

Instantly share code, notes, and snippets.

@harukizaemon
Created January 15, 2010 00:55
Show Gist options
  • Select an option

  • Save harukizaemon/277670 to your computer and use it in GitHub Desktop.

Select an option

Save harukizaemon/277670 to your computer and use it in GitHub Desktop.
# Add lib directory to the LOAD_PATH
begin
lib = File.expand_path("lib")
if File.exists?(lib)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment