File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,9 @@ https://github.com/postmodern/ruby-install#readme
9292 Downloads the latest ruby versions and checksums from the ruby-versions
9393 repository (https://github.com/postmodern/ruby-versions#readme ).
9494
95+ ` -d ` , ` --debug `
96+ Show each command being run (set -x)
97+
9598` -V ` , ` --version `
9699 Prints the current ruby-install version.
97100
Original file line number Diff line number Diff line change @@ -119,6 +119,10 @@ Downloads the latest ruby versions and checksums from the ruby\-versions
119119repository (https:\[sl ]\[sl ] github\. com\[sl ] postmodern\[sl ] ruby\- versions\[sh ] readme)\.
120120.LP
121121.TP
122+ \fB -d \fR , \fB --debug \fR
123+ Show each command being run (set -x)
124+ .LP
125+ .TP
122126\fB -V \fR , \fB --version \fR
123127Prints the current ruby\- install version\.
124128.LP
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ Options:
5252 --no-install-deps Do not install build dependencies before installing Ruby
5353 --no-reinstall Skip installation if another Ruby is detected in same location
5454 -L, --latest Downloads the latest ruby versions and checksums
55+ -d, --debug Show each command being run (set -x)
5556 -V, --version Prints the version
5657 -h, --help Prints this message
5758
@@ -179,6 +180,10 @@ function parse_options()
179180 force_update=1
180181 shift
181182 ;;
183+ -d|--debug)
184+ set -x
185+ shift
186+ ;;
182187 -V|--version)
183188 echo " ruby-install: $ruby_install_version "
184189 exit
You can’t perform that action at this time.
0 commit comments