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

FILES

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

SEE ALSO

30       Gemfile(5) http://bundler.io/man/gemfile.5.html
31
32
33
34                                 November 2018                  BUNDLE-INIT(1)
Impressum