Problem installing gems

Hey everybody! Today I tried installing typo using "sudo gem install typo" and my machine spat this back at me:

ERROR: While executing gem ... (NoMethodError)     undefined method `refresh' for #<Hash:0x1108328>

Anyone know what this is? Or how I can fix it?