Skip to content

Instantly share code, notes, and snippets.

@aditya
Created April 9, 2009 16:50
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 aditya/92582 to your computer and use it in GitHub Desktop.
Save aditya/92582 to your computer and use it in GitHub Desktop.
config.load_paths += Dir["#{RAILS_ROOT}/vendor/gems/**"].map do |dir|
File.directory?(lib = "#{dir}/lib") ? lib : dir
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment