%PDF- %PDF-
Direktori : /proc/thread-self/root/proc/thread-self/root/opt/alt/ruby31/share/man/man1/ |
Current File : //proc/thread-self/root/proc/thread-self/root/opt/alt/ruby31/share/man/man1/bundle-console.1 |
.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "BUNDLE\-CONSOLE" "1" "October 2022" "" "" . .SH "NAME" \fBbundle\-console\fR \- Deprecated way to open an IRB session with the bundle pre\-loaded . .SH "SYNOPSIS" \fBbundle console\fR [GROUP] . .SH "DESCRIPTION" Starts an interactive Ruby console session in the context of the current bundle\. . .P If no \fBGROUP\fR is specified, all gems in the \fBdefault\fR group in the Gemfile(5) \fIhttps://bundler\.io/man/gemfile\.5\.html\fR are preliminarily loaded\. . .P If \fBGROUP\fR is specified, all gems in the given group in the Gemfile in addition to the gems in \fBdefault\fR group are loaded\. Even if the given group does not exist in the Gemfile, IRB console starts without any warning or error\. . .P The environment variable \fBBUNDLE_CONSOLE\fR or \fBbundle config set console\fR can be used to change the shell from the following: . .IP "\(bu" 4 \fBirb\fR (default) . .IP "\(bu" 4 \fBpry\fR (https://github\.com/pry/pry) . .IP "\(bu" 4 \fBripl\fR (https://github\.com/cldwalker/ripl) . .IP "" 0 . .P \fBbundle console\fR uses irb by default\. An alternative Pry or Ripl can be used with \fBbundle console\fR by adjusting the \fBconsole\fR Bundler setting\. Also make sure that \fBpry\fR or \fBripl\fR is in your Gemfile\. . .SH "EXAMPLE" . .nf $ bundle config set console pry $ bundle console Resolving dependencies\.\.\. [1] pry(main)> . .fi . .SH "NOTES" This command was deprecated in Bundler 2\.1 and will be removed in 3\.0\. Use \fBbin/console\fR script, which can be generated by \fBbundle gem <NAME>\fR\. . .SH "SEE ALSO" Gemfile(5) \fIhttps://bundler\.io/man/gemfile\.5\.html\fR