public
Created

rvm --trace

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371
Last login: Fri May 4 03:25:33 on ttys025
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
03:33:28 rug@leviathan:~ ruby-1.9.3-p194
$ rvm --trace
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'
+ [[ -n '' ]]
+ export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 790 > [[ -z '' ]]
+ /scripts/cli : __rvm_parse_args() 790 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 792 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 792 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 13 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 796 > [[ 0 -gt 0 ]]
+ /scripts/cli : __rvm_parse_args() 798 > [[ -n '' ]]
+ /scripts/cli : rvm() 861 > result=0
+ /scripts/cli : rvm() 863 > rvm_action=usage
+ /scripts/cli : rvm() 865 > [[ 0 -gt 0 ]]
+ /scripts/cli : rvm() 879 > case "$rvm_action" in
+ /scripts/cli : rvm() 891 > __rvm_usage
+ /scripts/cli : __rvm_usage() 1 > __rvm_pager_or_cat_v /usr/local/rvm/README
+ /scripts/functions/utility : __rvm_pager_or_cat_v() 1 > eval 'cat -v '\''/usr/local/rvm/README'\'''
++ /scripts/functions/utility : __rvm_pager_or_cat_v() -375 > cat -v /usr/local/rvm/README
{master:<img src="https://secure.travis-ci.org/wayneeseguin/rvm.png?branch=master" alt="Build Status" /> stable:<img src="https://secure.travis-ci.org/wayneeseguin/rvm.png?branch=stable" alt="Build Status" />}[http://travis-ci.org/#!/wayneeseguin/rvm/branch_summary]
 
= rvm
 
* https://rvm.io/
* https://github.com/wayneeseguin/rvm/
 
== DESCRIPTION:
 
RVM is the Ruby enVironment Manager (rvm).
 
It manages Ruby application environments and switching between them.
 
== Installation
 
curl -L get.rvm.io | bash -s stable [--ruby] [--rails] [--trace]
 
stable :: Install stable RVM, good for servers.
--ruby :: Additionally install latest ruby version (MRI).
--rails :: Install gem rails into default gemset (also installs ruby if not selected).
--trace :: Print trace of the installation, gist output when you have problems.
 
More details here: https://rvm.io/rvm/install/
 
== Usage
 
rvm [Flags] [Options] Action [Implementation[,Implementation[,...]]
 
== Flags
 
--default :: with 'rvm use X', sets the default ruby for new shells to X.
--debug :: Toggle debug mode on for very verbose output.
--trace :: Toggle trace mode on to see EVERYTHING rvm is doing.
--force :: Force install, removes old install & source before install.
--summary :: Used with rubydo to print out a summary of the commands run.
--latest :: with gemset --dump skips version strings for latest gem.
--gems :: with uninstall/remove removes gems with the interpreter.
--docs :: with install, attempt to generate ri after installation.
--reconfigure :: Force ./configure on install even if Makefile already exists.
 
== Options
 
-v|--version :: Emit rvm version loaded for current shell
-l|--level :: patch level to use with rvm use / install
--bin :: path for binaries to be placed (~/.rvm/bin/)
-S :: Specify a script file to attempt to load and run (rubydo)
-e :: Execute code from the command line.
--gems :: Used to set the 'gems_flag', use with 'remove' to remove gems
--archive :: Used to set the 'archive_flag', use with 'remove' to remove archive
--patch :: With MRI Rubies you may specify one or more full paths to patches
for multiple, specify comma separated:
 
--patch /.../.../a.patch[%prefix],/.../.../.../b.patch
 
'prefix' is an optional argument, which will be bypassed
to the '-p' argument of the 'patch' command. It is separated
from patch file name with '%' symbol.
-C|--configure :: custom configure options. If you need to pass several configure
options then append them comma separated:
 
-C --...,--...,--...
 
--nice :: process niceness (for slow computers, default 0)
--ree-options :: Options passed directly to ree's './installer' on the command line.
--with-rubies :: Specifies a string for rvm to attempt to expand for set operations.
 
== Action
 
(Note that for most actions, 'rvm help action-name' may provide more information.)
 
*usage* :: show this usage information
version :: show the rvm version installed in rvm_path
use :: setup current shell to use a specific ruby version
reload :: reload rvm source itself (useful after changing rvm source)
implode :: (seppuku) removes the rvm installation completely.
 
This means everything in $rvm_path (~/.rvm || /usr/local/rvm).
 
This does not touch your profiles. However, this means that you
must manually clean up your profiles and remove the lines which source RVM.
get :: {head,stable} upgrades rvm to latest head or stable version.
 
Check 'rvm help get' for more details.
 
(If you experience bugs try this first with head version, then
ask for help in #rvm on irc.freenode.net and hang around)
reset :: remove current and stored default & system settings.
 
(If you experience odd behavior try this second)
info :: show the *current* environment information for current ruby
current :: print the *current* ruby version and the name of any gemset being used.
debug :: show info plus additional information for common issues
 
install :: install one or many ruby versions
 
See also: https://rvm.io/rubies/installing/
uninstall :: uninstall one or many ruby versions, leaves their sources
remove :: uninstall one or many ruby versions and remove their sources
 
migrate :: Lets you migrate all gemsets from one ruby to another.
upgrade :: Lets you upgrade from one version of a ruby to another, including
migrating your gemsets semi-automatically.
 
wrapper :: generates a set of wrapper executables for a given ruby with the
specified ruby and gemset combination. Used under the hood for
passenger support and the like.
 
cleanup :: Lets you remove stale source folders / archives and other miscellaneous
data associated with rvm.
repair :: Lets you repair parts of your environment e.g. wrappers, env files and
and similar files (e.g. general maintenance).
snapshot :: Lets your backup / restore an rvm installation in a lightweight manner.
 
disk-usage :: Tells you how much disk space rvm install is using.
tools :: Provides general information about the ruby environment,
primarily useful when scripting rvm.
docs :: Tools to make installing ri and rdoc documentation easier.
rvmrc :: Tools related to managing rvmrc trust and loading.
 
do :: runs an arbitrary command against specified and/or all rubies
tests :: runs 'rake test' across selected ruby versions
specs :: runs 'rake spec' across selected ruby versions
monitor :: Monitor cwd for testing, run `rake {spec,test}` on changes.
 
gemset :: gemsets: https://rvm.io/gemsets/
 
rubygems :: Switches the installed version of rubygems for the current ruby.
 
gemdir :: display the path to the current gem directory (GEM_HOME).
srcdir :: display the path to rvm source directory (may be yanked)
 
fetch :: Performs an archive / src fetch only of the selected ruby.
list :: show currently installed rubies, interactive output.
 
https://rvm.io/rubies/list/
pkg :: Install a dependency package {readline,iconv,zlib,openssl}
 
https://rvm.io/packages/
notes :: Display notes, with operating system specifics.
 
export :: Temporarily set an environment variable in the current shell.
unexport :: Undo changes made to the environment by 'rvm export'.
requirements :: Shows additional OS specific dependencies/requirements for building various rubies.
 
== Implementation
 
*ruby* :: MRI/YARV Ruby (The Gold Standard) {1.8.6,1.8.7,1.9.1,1.9.2...}
jruby :: JRuby, Ruby interpreter on the Java Virtual Machine.
rbx :: Rubinius
ree :: Ruby Enterprise Edition, MRI Ruby with several custom
patches for performance, stability, and memory.
macruby :: MacRuby, insanely fast, can make real apps (Mac OS X Only).
maglev :: GemStone Ruby, awesome persistent ruby object store.
ironruby :: IronRuby, NOT supported yet. Looking for volunteers to help.
system :: use the system ruby (eg. pre-rvm state)
default :: use rvm set default ruby and system if it hasn't been set.
 
https://rvm.io/rubies/default/
 
== Resources:
 
https://rvm.io/
https://www.pivotaltracker.com/projects/26822
 
== Contributions:
 
Any and all contributions offered in any form, past present or future, to the
RVM project are understood to be in complete agreement and acceptance with the
Apache Licence v2.0.
 
== LICENSE:
 
Copyright (c) 2009-2011 Wayne E. Seguin
 
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
 
http://www.apache.org/licenses/LICENSE-2.0
 
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+ /scripts/cli : rvm() 736 > current_result=0
+ /scripts/cli : rvm() 738 > (( result > 0 ))
+ /scripts/cli : rvm() 738 > result=0
+ /scripts/cli : rvm() 740 > [[ 0 -gt 0 ]]
+ /scripts/cli : rvm() 1117 > case "$rvm_action" in
+ /scripts/cli : rvm() 752 > current_result=0
+ /scripts/cli : rvm() 754 > (( result > 0 ))
+ /scripts/cli : rvm() 754 > result=0
+ /scripts/cli : rvm() 756 > [[ 0 -eq 1 ]]
+ /scripts/cli : rvm() 762 > typeset __local_rvm_trace_flag
+ /scripts/cli : rvm() 763 > __local_rvm_trace_flag=1
+ /scripts/cli : rvm() 765 > __rvm_teardown
+ /scripts/functions/environment : __rvm_teardown() 1 > builtin command -v __rvm_cleanup_tmp
+ /scripts/functions/environment : __rvm_teardown() 3 > __rvm_cleanup_tmp
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 1 > [[ -d /usr/local/rvm/tmp/ ]]
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 97 > case "${rvm_tmp_path%\/}" in
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 5 > __rvm_rm_rf '/usr/local/rvm/tmp/11777*'
+ /scripts/functions/cleanup : __rvm_rm_rf() 1 > typeset result target
+ /scripts/functions/cleanup : __rvm_rm_rf() 2 > result=1
+ /scripts/functions/cleanup : __rvm_rm_rf() 3 > target='/usr/local/rvm/tmp/11777*'
+ /scripts/functions/cleanup : __rvm_rm_rf() 6 > [[ -n '' ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 10 > [[ -n 3.2.48(1)-release ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 12 > shopt -s extglob
+ /scripts/functions/cleanup : __rvm_rm_rf() 25 > case "${target}" in
+ /scripts/functions/cleanup : __rvm_rm_rf() 24 > [[ -n /usr/local/rvm/tmp/11777* ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 26 > [[ -d /usr/local/rvm/tmp/11777* ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 30 > [[ -f /usr/local/rvm/tmp/11777* ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 30 > [[ -L /usr/local/rvm/tmp/11777* ]]
+ /scripts/functions/cleanup : __rvm_rm_rf() 35 > result=0
+ /scripts/functions/cleanup : __rvm_rm_rf() 41 > return 0
+ /scripts/functions/cleanup : __rvm_cleanup_tmp() 96 > return 0
+ /scripts/functions/environment : __rvm_teardown() 258 > export __rvm_env_loaded
+ /scripts/functions/environment : __rvm_teardown() 260 > : __rvm_env_loaded:1:
+ /scripts/functions/environment : __rvm_teardown() 261 > : __rvm_env_loaded:1:
+ /scripts/functions/environment : __rvm_teardown() 263 > : __rvm_env_loaded:0:
+ /scripts/functions/environment : __rvm_teardown() 265 > [[ -z /usr/local/rvm/tmp ]]
+ /scripts/functions/environment : __rvm_teardown() 265 > (( __rvm_env_loaded > 0 ))
+ /scripts/functions/environment : __rvm_teardown() 270 > [[ -n 3.2.48(1)-release ]]
+ /scripts/functions/environment : __rvm_teardown() 272 > trap - 0 1 2 3 15
+ /scripts/functions/environment : __rvm_teardown() 275 > [[ -n '' ]]
+ /scripts/functions/environment : __rvm_teardown() 285 > [[ -n 0022 ]]
+ /scripts/functions/environment : __rvm_teardown() 287 > umask 0022
+ /scripts/functions/environment : __rvm_teardown() 299 > unset rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_18_flag rvm_19_flag rvm_force_autoconf_flag rvm_autoconf_flags rvm_dump_environment_flag rvm_verbose_flag rvm_debug_flag rvm_trace_flag rvm_pretty_print_flag rvm_create_flag rvm_remove_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_ignore_gemsets_flag rvm_install_on_use_flag
+ /scripts/functions/environment : __rvm_teardown() 300 > unset rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_ruby_load_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_externals_path
+ /scripts/functions/environment : __rvm_teardown() 301 > unset rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_tag rvm_ruby_sha rvm_ruby_version rvm_ruby_require rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name
+ /scripts/functions/environment : __rvm_teardown() 302 > unset __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_architectures rvm_patch_names rvm_tar_command rvm_tar_options rvm_ree_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name
+ /scripts/functions/environment : __rvm_teardown() 304 > builtin command -v __rvm_cleanup_download
+ /scripts/functions/environment : __rvm_teardown() 309 > return 0
+ /scripts/cli : rvm() 1136 > (( __local_rvm_trace_flag > 0 ))
+ /scripts/cli : rvm() 1138 > set +o verbose
+ /scripts/cli : rvm() 1139 > set +o xtrace
bash: __rvm_select: line 275: syntax error near unexpected token `('
bash: __rvm_select: line 275: ` +([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: __rvm_rm_rf: line 13: syntax error near unexpected token `('
bash: __rvm_rm_rf: line 13: ` *(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))'
bash: error importing function definition for `__rvm_rm_rf'
bash: __rvm_ruby_string: line 103: syntax error near unexpected token `('
bash: __rvm_ruby_string: line 103: ` 0.+([[:digit:]]) | 0.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]) | 2.+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]).+([[:digit:]]).+([[:digit:]]) | 1.+([[:digit:]]))'
bash: error importing function definition for `__rvm_ruby_string'
bash: __rvm_parse_args: line 333: syntax error near unexpected token `('
bash: __rvm_parse_args: line 333: ` +([[:digit:]]).+([[:digit:]])*)'
bash: error importing function definition for `__rvm_parse_args'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.