mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fc9509bdd2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
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
|
|
|
|
|
|
|
|
November 2018 BUNDLE-INIT(1)
|