Created
November 10, 2008 11:58
-
-
Save Sutto/23479 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
# Only load paths from the folder 'gems' under the current | |
# dir - e.g. ./gems/ | |
# To freeze use gem install <name> -i gems | |
Gem.clear_paths | |
Gem.path.unshift(File.expand_path(File.join(File.dirname(__FILE__), 'gems')) ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment