Forum: Ruby rvm broken on mint and cannot log a bug there

Posted by ding dong (dingdong)
on 2012-11-08 08:37
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 by ding dong (dingdong)
on 2012-11-08 08:39
also, i have followed the instructions here: 
http://stackoverflow.com/questions/9056008/install...

and here: 
http://www.andrehonsberg.com/article/install-rvm-o...


DO NOT USE MINT LINUX IF YOU ARE A SERIOUS DEVELOPER IT DOES NOT WORK 
!!!
Posted by Panagiotis Atmatzidis (Guest)
on 2012-11-08 11:30
(Received via mailing list)
Hello,

A little off topic but...

On 8 Νοε 2012, at 08:39 , ding dong <lists@ruby-forum.com> wrote:

> also, i have followed the instructions here:
> 
http://stackoverflow.com/questions/9056008/install...
>
> and here:
> http://www.andrehonsberg.com/article/install-rvm-o...

Both errors you posted are not just mint/ubuntu related. When using a 
package manager to manager a "package manager" like RVM you can stumble 
into a lot of troubles.
It's the same for every OS out there.

>
> DO NOT USE MINT LINUX IF YOU ARE A SERIOUS DEVELOPER IT DOES NOT WORK
> !!!

If you are a "serious" developer, you know how to handle your platform 
:-)

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


Panagiotis (atmosx) Atmatzidis

email:  atma@convalesco.org
URL:  http://www.convalesco.org
GnuPG ID: 0xE736C6A0
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys 0xE736C6A0
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.