Removed ruby-debug dependency.
Ignoring Gemfile.lock
Removed some database check which may cause problems in CI environments.