Created
September 16, 2009 13:58
-
-
Save richievos/188054 to your computer and use it in GitHub Desktop.
This file contains 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
local_libraries = %w(restfulx random_project_one) | |
local_libraries_path = '~/workspace' | |
# this assumes you are dealing with something with the common gem format | |
# my_library/ | |
# my_library/lib | |
# my_library/lib/my_library.rb | |
local_libraries.each do |library| | |
$: << "#{local_libraries_path}/#{library}/lib" | |
require library | |
end | |
# Now you'd have access to everything in there |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment