Make 'rake' work again
Use mime-types 1.x for Rails 3.1 and 3.2

2.x requires Ruby >1.8