When you are developing a gem, and you want to add examples, how do  
you get your example to find your gem without installing your gem?

i.e. suppose you have

mygem/
	examples/
		example1.rb
	lib/

and example1.rb starts with
	require "mygem"

but your gem isn't installed yet so how does example1.rb find the  
right code?

Is there some trick for this, or do people just install their gem first?