Skip to content

Instantly share code, notes, and snippets.

@joshaven
Created June 8, 2010 17:25
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 joshaven/430343 to your computer and use it in GitHub Desktop.
Save joshaven/430343 to your computer and use it in GitHub Desktop.
if File.directory?("#{RAILS_ROOT}/gems")
Gem.use_paths("#{RAILS_ROOT}/gems", ["#{RAILS_ROOT}/gems"])
end
# Write me if you want my full implementation (it is not for RAILS but it could be easily re-written)
# yourtech at gmail dot com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment