Changed back to instance variable, apparently I managed to test it the wrong way..
Rubygems 2.0.1 doesn't like non-https