Fixed an error in the gemfile database code