updated Gemfile and fixed config bug