1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/man/bundle-init.1.txt

35 lines
1.1 KiB
Text
Raw Normal View History

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)