Quick snippet to add to the top of your environment.rb file

written about about 1 year ago |
0 comments

  Dir.glob(File.join(File.dirname(__FILE__), '..', 'lib', '*', 'lib')).each { |d| $LOAD_PATH << d }

Adds all your unpacked gem directories into your load path so you won’t have to change environment.rb when you add or upgrade a gem.

Leave a comment...

formatting help...