Fix broken test due to change of environment context.
Ignore white spaces on start / end of lines.

As @emancu has experienced, by writing your .gems file
by hand and using tabs to make it look pretty, you
get an `Invalid requirement` problem.
Release 1.0.3: Allow white spaces in .gems file.

Via @emancu.