I am new to developing Ruby gems, but I thought I\'d give it a try.
Recently checking out the latest episode on Railscasts (http://railscasts.com/episodes/245-new-gem-wi
You can include these lines in your Rakefile:
task :console do exec "irb -r mygem -I ./lib" end
This will create a rake task to initialize a new irb session and preload your library. Now, all you have to do is:
$ rake console