Sha256: 8cee6f8f44c46f199638dba6feffb5fb65affbb6b98125ff2e721e7f2f2d7435
Contents?: true
Size: 552 Bytes
Versions: 9
Compression:
Stored size: 552 Bytes
Contents
dirname, basename = File.split(File.expand_path(__FILE__)) libdir = File.join dirname, "lib" $LOAD_PATH.unshift libdir begin require "bj" ensure $LOAD_PATH.shift end =begin require "rubygems" dir = Gem.dir path = Gem.path dirname, basename = File.split(File.expand_path(__FILE__)) gem_home = File.join dirname, "gem_home" gem_path = [gem_home] #, *path] Gem.send :use_paths, gem_home, gem_path begin %w[ attributes systemu orderedhash bj ].each do |lib| gem lib require lib end ensure Gem.send :use_paths, dir, path end =end
Version data entries
9 entries across 7 versions & 4 rubygems