Sha256: 7b4a447876300bd9ade12a252cf8dff8d3f573cb4054d0dcb02aacc67c73e3e6

Contents?: true

Size: 1016 Bytes

Versions: 156

Compression:

Stored size: 1016 Bytes

Contents

bundle-init(1) -- Generates a Gemfile into the current working directory
========================================================================

## SYNOPSIS

`bundle init` [--gemspec=FILE]

## DESCRIPTION

Init generates a default [`Gemfile(5)`][Gemfile(5)] in the current working directory. When
adding a [`Gemfile(5)`][Gemfile(5)] to a gem with a gemspec, the `--gemspec` option will
automatically add each dependency listed in the gemspec file to the newly
created [`Gemfile(5)`][Gemfile(5)].

## OPTIONS

* `--gemspec`:
  Use the specified .gemspec to create the [`Gemfile(5)`][Gemfile(5)]
* `--gemfile`:
  Use the specified name for the gemfile instead of `Gemfile`

## FILES

Included in the default [`Gemfile(5)`][Gemfile(5)]
generated is the line `# frozen_string_literal: true`. This is a magic comment
supported for the first time in Ruby 2.3. The presence of this line
results in all string literals in the file being implicitly frozen.

## SEE ALSO

[Gemfile(5)](https://bundler.io/man/gemfile.5.html)

Version data entries

156 entries across 156 versions & 4 rubygems

Version Path
bundler-2.5.15 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.14 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.14 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.13 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.13 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.12 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.12 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.10 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.10 lib/bundler/man/bundle-init.1.ronn
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.9 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.9 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.8 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.8 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.7 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.7 lib/bundler/man/bundle-init.1.ronn
direct7-0.0.13 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.6 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.6 lib/bundler/man/bundle-init.1.ronn
direct7-0.0.12 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-init.1.ronn