Remove obsolete Gemfile declarations
Fix tests on Rails 3