Freshly installed Mint Linux.  Installed RVM using apt-get (command
line) and get the following upon opening a new shell.  Note I have
installed it correctly on Mint Linux Maya 13 or whatever, it's the most
up-to-date version downloaded from their site this evening (done this 4
times now):

ash: _python: line 15: syntax error near unexpected token `('
bash: _python: line 15: ` !(?(*/)python*([0-9.])|-?))'
bash: error importing function definition for `_python'
bash: __rvm_select: line 290: syntax error near unexpected token `('
bash: __rvm_select: line 290: `
+([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: _xz: line 15: syntax error near unexpected token `('
bash: _xz: line 15: ` --decompress | --list | --test | -!(-*)[dlt]*)'
bash: error importing function definition for `_xz'
bash: _tar: line 8: syntax error near unexpected token `('
bash: _tar: line 8: ` ?(-)[cr]*f)'
bash: error importing function definition for `_tar'
bash: __rvm_ruby_string: line 104: syntax error near unexpected token
`('
bash: __rvm_ruby_string: line 104: ` 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: homes: line 0: syntax error near unexpected token `('
bash: homes: line 0: `homes () {  echo -n
/media/[a-zA-Z]/@(Users|home)/@(zxcv|dog) ' ';'
bash: error importing function definition for `homes'
bash: _growisofs: line 12: syntax error near unexpected token `('
bash: _growisofs: line 12: ` /?(r)dev/*)'
bash: error importing function definition for `_growisofs'
bash: _python: line 15: syntax error near unexpected token `('
bash: _python: line 15: ` !(?(*/)python*([0-9.])|-?))'
bash: error importing function definition for `_python'
bash: __rvm_select: line 290: syntax error near unexpected token `('
bash: __rvm_select: line 290: `
+([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: _xz: line 15: syntax error near unexpected token `('
bash: _xz: line 15: ` --decompress | --list | --test | -!(-*)[dlt]*)'
bash: error importing function definition for `_xz'
bash: _tar: line 8: syntax error near unexpected token `('
bash: _tar: line 8: ` ?(-)[cr]*f)'
bash: error importing function definition for `_tar'
bash: __rvm_ruby_string: line 104: syntax error near unexpected token
`('
bash: __rvm_ruby_string: line 104: ` 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: homes: line 0: syntax error near unexpected token `('
bash: homes: line 0: `homes () {  echo -n
/media/[a-zA-Z]/@(Users|home)/@(zxcv|dog) ' ';'
bash: error importing function definition for `homes'
bash: _growisofs: line 12: syntax error near unexpected token `('
bash: _growisofs: line 12: ` /?(r)dev/*)'
bash: error importing function definition for `_growisofs'
bash: _python: line 15: syntax error near unexpected token `('
bash: _python: line 15: ` !(?(*/)python*([0-9.])|-?))'
bash: error importing function definition for `_python'
bash: __rvm_select: line 290: syntax error near unexpected token `('
bash: __rvm_select: line 290: `
+([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: _xz: line 15: syntax error near unexpected token `('
bash: _xz: line 15: ` --decompress | --list | --test | -!(-*)[dlt]*)'
bash: error importing function definition for `_xz'
bash: _tar: line 8: syntax error near unexpected token `('
bash: _tar: line 8: ` ?(-)[cr]*f)'
bash: error importing function definition for `_tar'
bash: __rvm_ruby_string: line 104: syntax error near unexpected token
`('
bash: __rvm_ruby_string: line 104: ` 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: homes: line 0: syntax error near unexpected token `('
bash: homes: line 0: `homes () {  echo -n
/media/[a-zA-Z]/@(Users|home)/@(zxcv|dog) ' ';'
bash: error importing function definition for `homes'
bash: _growisofs: line 12: syntax error near unexpected token `('
bash: _growisofs: line 12: ` /?(r)dev/*)'
bash: error importing function definition for `_growisofs'
bash: _python: line 15: syntax error near unexpected token `('
bash: _python: line 15: ` !(?(*/)python*([0-9.])|-?))'
bash: error importing function definition for `_python'
bash: __rvm_select: line 290: syntax error near unexpected token `('
bash: __rvm_select: line 290: `
+([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: _xz: line 15: syntax error near unexpected token `('
bash: _xz: line 15: ` --decompress | --list | --test | -!(-*)[dlt]*)'
bash: error importing function definition for `_xz'
bash: _tar: line 8: syntax error near unexpected token `('
bash: _tar: line 8: ` ?(-)[cr]*f)'
bash: error importing function definition for `_tar'
bash: __rvm_ruby_string: line 104: syntax error near unexpected token
`('
bash: __rvm_ruby_string: line 104: ` 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: homes: line 0: syntax error near unexpected token `('
bash: homes: line 0: `homes () {  echo -n
/media/[a-zA-Z]/@(Users|home)/@(zxcv|dog) ' ';'
bash: error importing function definition for `homes'
bash: _growisofs: line 12: syntax error near unexpected token `('
bash: _growisofs: line 12: ` /?(r)dev/*)'
bash: error importing function definition for `_growisofs'
bash: _python: line 15: syntax error near unexpected token `('
bash: _python: line 15: ` !(?(*/)python*([0-9.])|-?))'
bash: error importing function definition for `_python'
bash: __rvm_select: line 290: syntax error near unexpected token `('
bash: __rvm_select: line 290: `
+([[:digit:]]).+([[:digit:]]).+([[:digit:]]))'
bash: error importing function definition for `__rvm_select'
bash: _xz: line 15: syntax error near unexpected token `('
bash: _xz: line 15: ` --decompress | --list | --test | -!(-*)[dlt]*)'
bash: error importing function definition for `_xz'
bash: _tar: line 8: syntax error near unexpected token `('
bash: _tar: line 8: ` ?(-)[cr]*f)'
bash: error importing function definition for `_tar'
bash: __rvm_ruby_string: line 104: syntax error near unexpected token
`('
bash: __rvm_ruby_string: line 104: ` 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: homes: line 0: syntax error near unexpected token `('
bash: homes: line 0: `homes () {  echo -n
/media/[a-zA-Z]/@(Users|home)/@(zxcv|dog) ' ';'
bash: error importing function definition for `homes'
bash: _growisofs: line 12: syntax error near unexpected token `('
bash: _growisofs: line 12: ` /?(r)dev/*)'
bash: error importing function definition for `_growisofs'
bash: eval: line 44: syntax error near unexpected token `('
bash: eval: line 44: `cd(){'

I know nobody will be able to offer any useful suggestions to this
ultra-fucked situation.  Just DO NOT USE MINT LINUX IF YOU ARE
INTERESTED IN USING RVM BECAUSE IT DOES __NOT__ WORK !!!

-- 
Posted via http://www.ruby-forum.com/.