added require rubygems to fix bug on select machines