Quick snippet to add to the top of your environment.rb file
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...