Man page - bundle-init(1)
Packages contas this manual
- bundle-add(1)
- bundle-doctor(1)
- bundle-update(1)
- bundle(1)
- bundle-list(1)
- bundle-check(1)
- bundle-open(1)
- bundle-show(1)
- bundle-install(1)
- bundler(1)
- bundle-binstubs(1)
- bundle-outdated(1)
- bundle-pristine(1)
- bundle-init(1)
- bundle-gem(1)
- bundle-platform(1)
- bundle-info(1)
- bundle-remove(1)
- bundle-inject(1)
- gemfile(5)
- bundle-exec(1)
- bundle-lock(1)
- bundle-clean(1)
- bundle-viz(1)
- bundle-cache(1)
- bundle-config(1)
Package: ruby-bundler
apt-get install ruby-bundler
apt-get install ruby-bundler
Manuals in package:
Documentations in package:
Manual
| BUNDLE-INIT(1) | General Commands Manual | BUNDLE-INIT(1) |
NAME
bundle-init - Generates a Gemfile into the current working directory
SYNOPSIS
bundle init [--gemspec=FILE]
DESCRIPTION
Init generates a default [Gemfile(5)][Gemfile(5)] in the current working directory. When adding a [Gemfile(5)][Gemfile(5)] to a gem with a gemspec, the --gemspec option will automatically add each dependency listed in the gemspec file to the newly created [Gemfile(5)][Gemfile(5)].
OPTIONS
- --gemspec=GEMSPEC
- Use the specified .gemspec to create the [Gemfile(5)][Gemfile(5)]
- --gemfile=GEMFILE
- Use the specified name for the gemfile instead of Gemfile
FILES
Included in the default [Gemfile(5)][Gemfile(5)] generated is the line # 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.
SEE ALSO
Gemfile(5) https://bundler.io/man/gemfile.5.html
| March 2025 |