Fix the 'TypeError: superclass mismatch for class SQLite3Adapter' error when using the gem with Rails 4