Add the gem bunble in GEMFILE and fix some bugs change the way of showing grid