Run against 1.8.7 just to make sure
Use mime-types 1.x for Rails 3.1 and 3.2

2.x requires Ruby >1.8