add ruby to gemfile, update template for image