Change gemfile and preconfig assest to correct problem