2018-11-02 19:07:56 -04:00
|
|
|
BUNDLE-INIT(1) BUNDLE-INIT(1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1mNAME0m
|
|
|
|
1mbundle-init 22m- Generates a Gemfile into the current working directory
|
|
|
|
|
|
|
|
1mSYNOPSIS0m
|
|
|
|
1mbundle init 22m[--gemspec=FILE]
|
|
|
|
|
|
|
|
1mDESCRIPTION0m
|
|
|
|
Init generates a default [1mGemfile(5)22m][Gemfile(5)] in the current work-
|
|
|
|
ing directory. When adding a [1mGemfile(5)22m][Gemfile(5)] to a gem with a
|
|
|
|
gemspec, the 1m--gemspec 22moption will automatically add each dependency
|
|
|
|
listed in the gemspec file to the newly created [1mGemfile(5)22m][Gem-
|
|
|
|
file(5)].
|
|
|
|
|
|
|
|
1mOPTIONS0m
|
|
|
|
1m--gemspec0m
|
|
|
|
Use the specified .gemspec to create the [1mGemfile(5)22m][Gem-
|
|
|
|
file(5)]
|
|
|
|
|
|
|
|
1mFILES0m
|
|
|
|
Included in the default [1mGemfile(5)22m][Gemfile(5)] generated is the line
|
|
|
|
1m# frozen_string_literal: true22m. 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.
|
|
|
|
|
|
|
|
1mSEE ALSO0m
|
|
|
|
Gemfile(5) 4mhttp://bundler.io/man/gemfile.5.html0m
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-27 07:08:19 -05:00
|
|
|
November 2018 BUNDLE-INIT(1)
|