Regenerated Gemfile.lock with bundle update.
The previous Gemfile.lock was probably built on MRI and didn't contain activerecord-jdbc-adapter and activerecord-jdbcmysql-adapter as dependencies.
Also removed version locking from these two gems.