You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: generate.rb
    path of file: ./repos/dockrails/lib/dockrails
    
    the code of the file until where you have to start completion: module Dockrails
  class Generate

    def initialize(app_path:, config: {})
      @app_path = app_path
      @config = config
    end

    d
    
    def create_start_script
      FileUtils.mkdir_p("#{@app_path}/scripts")
      File.open("#{@app_path}/scripts/start-dev.sh", "w") do |f|
        f.write("#!/bin/bash
  bundle check || bundle install
  rm -rf tmp/pids/* && bundle exec rails server --port 3000 --binding 0.0.0.0")
      end
    end