code: func (h Helper) RunScriptCommand() (*command.Model, error) {
  	tmpDir, err := h.ensureTmpDir()
  	if err != nil {
  		return nil, err
  	}
  
  	rubyScriptPth := path.Join(tmpDir, "script.rb")
  	if err := fileutil.WriteStringToFile(rubyScriptPth, h.scriptContent); err != nil {
  		return nil, err
  	}
  
  	var cmd *command.Model
  	if h.gemfilePth != "" {
  		cmd = command.New("bundle", "exec", "ruby", rubyScriptPth)
  		cmd.AppendEnvs("BUNDLE_GEMFILE=" + h.gemfilePth)
  	} else {
  		cmd = command.New("ruby", rubyScriptPth)
  	}
  
  	return cmd, nil
  }
docs: // RunScriptCommand ...