diff options
author | saigo <saigo@localhost.localdomain> | 2018-02-21 20:23:21 +0900 |
---|---|---|
committer | saigo <saigo@localhost.localdomain> | 2018-02-21 20:23:21 +0900 |
commit | 05b806de97ddf2d546a68a3680e32208a5fe228f (patch) | |
tree | 09aaec424604492760f257bd2bc51ba7685a44f6 /man | |
parent | 30f7b45e2414eb82e1dcc592a4dd5146438f4a63 (diff) | |
download | bundler-05b806de97ddf2d546a68a3680e32208a5fe228f.tar.gz |
issue 6140 updated bundle init docu
Diffstat (limited to 'man')
-rw-r--r-- | man/bundle-init.ronn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/man/bundle-init.ronn b/man/bundle-init.ronn index 781a25b1a2..943c715a50 100644 --- a/man/bundle-init.ronn +++ b/man/bundle-init.ronn @@ -12,7 +12,13 @@ adding a [`Gemfile(5)`][Gemfile(5)] to a gem with a gemspec, the `--gemspec` opt automatically add each dependency listed in the gemspec file to the newly created [`Gemfile(5)`][Gemfile(5)]. +One of the lines included in the default [`Gemfile(5)`][Gemfile(5)] generated is `# 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. Frozen string literals will be the default in Ruby 3. + ## OPTIONS * `--gemspec`: Use the specified .gemspec to create the [`Gemfile(5)`][Gemfile(5)] + +## SEE ALSO + +[Gemfile(5)](http://bundler.io/man/gemfile.5.html) |