-
-
Save aurelian/301384 to your computer and use it in GitHub Desktop.
stalingrad ~ $ rvm install 1.9.1 | |
/Users/aurelian/.rvm/scripts/match: line 8: conditional binary operator expected | |
/Users/aurelian/.rvm/scripts/match: line 8: syntax error near `=~' | |
/Users/aurelian/.rvm/scripts/match: line 8: ` [[ "$1" =~ $2 ]]' | |
/Users/aurelian/.rvm/scripts/match: line 8: conditional binary operator expected | |
/Users/aurelian/.rvm/scripts/match: line 8: syntax error near `=~' | |
/Users/aurelian/.rvm/scripts/match: line 8: ` [[ "$1" =~ $2 ]]' | |
/Users/aurelian/.rvm/scripts/match: line 8: conditional binary operator expected | |
/Users/aurelian/.rvm/scripts/match: line 8: syntax error near `=~' | |
/Users/aurelian/.rvm/scripts/match: line 8: ` [[ "$1" =~ $2 ]]' | |
/Users/aurelian/.rvm/scripts/match: line 8: conditional binary operator expected | |
/Users/aurelian/.rvm/scripts/match: line 8: syntax error near `=~' | |
/Users/aurelian/.rvm/scripts/match: line 8: ` [[ "$1" =~ $2 ]]' | |
/Users/aurelian/.rvm/scripts/match: line 8: conditional binary operator expected | |
/Users/aurelian/.rvm/scripts/match: line 8: syntax error near `=~' | |
/Users/aurelian/.rvm/scripts/match: line 8: ` [[ "$1" =~ $2 ]]' | |
Unrecognized command line argument: '1.9.1' ( see: 'rvm usage' ) | |
stalingrad ~ $ ruby --version | |
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin8.11.1] | |
stalingrad ~ $ gem --version | |
1.3.5 | |
stalingrad ~ $ rvm --version | |
rvm 0.1.12 |
@aurelian - could you add info/URL on how you upgraded bash on your OS X 10.4?
This gist has two relevant pages: git://gist.github.com/484773.git
git://gist.github.com/484773.git
I'm unsure how to proceed; perhaps you know of a page with better info (?).
Appreciated.
cd /tmp
wget http://ftp.gnu.org/gnu/bash/bash-4.1.tar.gz
tar -xzvf bash-4.1.tar.gz
cd bash-4.1
./configure
then:
make
that should build a bash binary in the current folder. you can backup your old version before, let's say:
sudo mv /bin/bash /bin/bash.old
and then install the new one with:
sudo cp bash /bin/bash
Many Thanks!
I put this GNU Bash-4.1 onto both of my MacBook Pros:
- on my PowerPC (10.4.11) with success (h'rray)
- on my Intel 'x86' (10.4.11) which caused some oddities (e.g. malloc error on using 'find' & other stuff). Had to revert to Bash 2.05.
So, I'm still in quest of an 'x86' Bash 4 for Mac OS X 10.4
Is there one at GNU ?
I am working on trying one with many Dependencies (expat, ncurses and beyond) at HMUG
http://archive.hmug.org/BSD/Applications/Shells/bash/README.bash-4.0-1p35-osx4-x86.html
Thanks again, this has been helpful.
William Reilly
all right!
@imsaar: I had an old version on bash installed (on Mac OSX 10.4), upgrading to latest bash solved the problem.