Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

bundle-gem (1)

Name

bundle-gem - Man page for 'bundle-gem' in section 1

Synopsis

Please see following description for synopsis

Description

TH  "BUNDLE-GEM" "1" "November 2018" "" "" SH "NAME" bundle-gem -
Generate a project skeleton for creating a rubygem SH  "SYNOPSIS"
bundle gem GEM_NAME OPTIONS SH "DESCRIPTION" Generates a directo-
ry named GEM_NAME with a Rakefile,  GEM_NAME.gemspec,  and  other
supporting  files  and  directories that can be used to develop a
rubygem with that name.  P Run rake -T in the  resulting  project
for a list of Rake tasks that can be used to test and publish the
gem to rubygems.org.  P The generated  project  skeleton  can  be
customized  with OPTIONS, as explained below. Note that these op-
tions can also be specified via  Bundler's  global  configuration
file using the following names: IP "o" 4 gem.coc IP "o" 4 gem.mit
IP "o" 4 gem.test IP "" 0 SH "OPTIONS" TP --exe or  -b  or  --bin
Specify  that  Bundler  should  create  a  binary  executable (as
exe/GEM_NAME) in the generated rubygem project. This binary  will
also  be added to the GEM_NAME.gemspec manifest. This behavior is
disabled by default.  TP --no-exe Do not create a  binary  (over-
rides  --exe  specified  in  the  global config).  TP --coc Add a
CODE_OF_CONDUCT.md file to the root of the generated project.  If
this  option  is  unspecified, an interactive prompt will be dis-
played and the answer will be saved in  Bundler's  global  config
for  future  bundle  gem  use.   TP  --no-coc  Do  not  create  a
CODE_OF_CONDUCT.md (overrides --coc specified in the global  con-
fig).   TP --ext Add boilerplate for C extension code to the gen-
erated  project.  This  behavior  is  disabled  by  default.   TP
--no-ext  Do  not add C extension code (overrides --ext specified
in the global config).  TP --mit Add an  MIT  license  to  a  LI-
CENSE.txt  file  in  the root of the generated project. Your name
from the global git config is used for the  copyright  statement.
If this option is unspecified, an interactive prompt will be dis-
played and the answer will be saved in  Bundler's  global  config
for  future  bundle  gem  use.   TP  --no-mit Do not create a LI-
CENSE.txt (overrides --mit specified in the global  config).   TP
-t, --test=minitest, --test=rspec Specify the test framework that
Bundler should use when generating the project. Acceptable values
are  minitest  and rspec. The GEM_NAME.gemspec will be configured
and a skeleton test/spec directory will be created based on  this
option. If this option is unspecified, an interactive prompt will
be displayed and the answer will be  saved  in  Bundler's  global
config  for future bundle gem use. If no option is specified, the
default testing framework is RSpec.  TP -e, --edit[=EDITOR]  Open
the  resulting  GEM_NAME.gemspec in EDITOR, or the default editor
if not specified. The default  is  $BUNDLER_EDITOR,  $VISUAL,  or
$EDITOR.   SH  "SEE  ALSO"  IP "o" 4 bundle config(1) bundle-con-
fig.1.html IP "" 0



See for descriptions of the following attributes:

+---------------+------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
+---------------+------------------+
|Availability   | runtime/ruby-26  |
+---------------+------------------+
|Stability      | Uncommitted      |
+---------------+------------------+

This   software   was   built   from    source    available    at
https://github.com/oracle/solaris-userland.   The original commu-
nity   source    was    downloaded    from     http://cache.ruby-
lang.org/pub/ruby/2.6/ruby-2.6.0.tar.gz

Further  information about this software can be found on the open
source community website at http://www.ruby-lang.org/.