1BUNDLE-INIT(1)                                                  BUNDLE-INIT(1)
2
3
4

NAME

6       bundle-init - Generates a Gemfile into the current working directory
7

SYNOPSIS

9       bundle init [--gemspec=FILE]
10

DESCRIPTION

12       Init  generates a default [Gemfile(5)][Gemfile(5)] in the current work‐
13       ing directory. When adding a [Gemfile(5)][Gemfile(5)] to a gem  with  a
14       gemspec,  the  --gemspec  option will automatically add each dependency
15       listed in the gemspec  file  to  the  newly  created  [Gemfile(5)][Gem‐
16       file(5)].
17

OPTIONS

19       --gemspec
20              Use  the  specified  .gemspec  to  create  the [Gemfile(5)][Gem‐
21              file(5)]
22
23       --gemfile
24              Use the specified name for the gemfile instead of Gemfile
25

FILES

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

SEE ALSO

33       Gemfile(5) https://bundler.io/man/gemfile.5.html
34
35
36
37                                 February 2023                  BUNDLE-INIT(1)
Impressum