fix observer page layout and remove :rubygems that is deprecated from Gemfile