{
    "content": [
        {
            "type": "text",
            "text": "# bundle-init(1) (man)\n\n**Summary:** bundle-init - Generates a Gemfile into the current working directory\n\n**Synopsis:** bundle init [--gemspec=FILE]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | --gemspec | — | Use the specified .gemspec to create the [Gemfile(5)][Gemfile(5)] |\n\n## See Also\n\n- Gemfile(5)\n- BUNDLE-INIT(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (5 lines)\n- **OPTIONS** (1 lines) — 1 subsections\n  - --gemspec (2 lines)\n- **FILES** (4 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nbundle-init - Generates a Gemfile into the current working directory\n\n### SYNOPSIS\n\nbundle init [--gemspec=FILE]\n\n### DESCRIPTION\n\nInit  generates  a  default  [Gemfile(5)][Gemfile(5)]  in the current working directory. When\nadding a [Gemfile(5)][Gemfile(5)] to a gem with a gemspec, the --gemspec option will automat‐\nically  add each dependency listed in the gemspec file to the newly created [Gemfile(5)][Gem‐\nfile(5)].\n\n### OPTIONS\n\n#### --gemspec\n\nUse the specified .gemspec to create the [Gemfile(5)][Gemfile(5)]\n\n### FILES\n\nIncluded in the default [Gemfile(5)][Gemfile(5)] generated is the line  #  frozenstringlit‐‐\neral: true. This is a magic comment supported for the first time in Ruby 2.3. The presence of\nthis line results in all string literals in the file being implicitly frozen.\n\n### SEE ALSO\n\nGemfile(5) https://bundler.io/man/gemfile.5.html\n\n\n\nDecember 2021                             BUNDLE-INIT(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "bundle-init",
        "section": "1",
        "mode": "man",
        "summary": "bundle-init - Generates a Gemfile into the current working directory",
        "synopsis": "bundle init [--gemspec=FILE]",
        "flags": [
            {
                "flag": "",
                "long": "--gemspec",
                "arg": null,
                "description": "Use the specified .gemspec to create the [Gemfile(5)][Gemfile(5)]"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "Gemfile",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/Gemfile/5/json"
            },
            {
                "name": "BUNDLE-INIT",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/BUNDLE-INIT/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "--gemspec",
                        "lines": 2,
                        "long": "--gemspec"
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}