add compression for static assets and use ruby version file