Skip to content

Instantly share code, notes, and snippets.

@epitron
Forked from Sutto/frozen_stuff.rb
Created November 10, 2008 13:38
Show Gist options
  • Save epitron/23489 to your computer and use it in GitHub Desktop.
Save epitron/23489 to your computer and use it in GitHub Desktop.
undefined
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
File dsl
Gem.path.unshift (PWD / 'gems').absolute_path
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment