Fix bug in blank state management
Update Gemfile
Fix bug in loading settings.yml