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
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-init.1.ronn
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.23 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.23 lib/bundler/man/bundle-init.1.ronn
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.22 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.22 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.21 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.21 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.20 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.20 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.19 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.19 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.18 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.18 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.17 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.17 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.16 bundler/lib/bundler/man/bundle-init.1.ronn
bundler-2.5.16 lib/bundler/man/bundle-init.1.ronn
rubygems-update-3.5.15 bundler/lib/bundler/man/bundle-init.1.ronn