Skip to content

Instantly share code, notes, and snippets.

@Sutto
Created November 10, 2008 11:58
Show Gist options
  • Save Sutto/23479 to your computer and use it in GitHub Desktop.
Save Sutto/23479 to your computer and use it in GitHub Desktop.
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