Support gems from a path and git source

@mattgillooly @kbarrette