empty rails gem's require_paths #8333

merged 1 commit into from Nov 27, 2012

2 participants

Ruby on Rails member

I found that the Rails app's $LOAD_PATH includes RAILS_GEM_DIRECTORY/lib, despite rails gem actually has no lib directory.

Since the rails gem is a meta package, we'd better empty the require_paths, which will make every Rails app a bit faster.

@josevalim josevalim merged commit 1f29aba into rails:master Nov 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment