got the edit done on the .bashrc file
in the terminal i put in 'sudo gedit .bashrc'
it put the file right there into the text editing main widow
edited it (well did what they said in the tute on the rvm site)
the trouble is though the test does not fail like when i first tried it it does not show any sort of error or anything showing that it works either though in the tute it says that the result should show 'rvm is a function'
it says that by putting this command in and exicuting it 'rvm | head -n1'
"If this was performed correctly, you should see: rvm is a function"
so i don't know if this has been resolved yet but only that the file is changed now and have successfully changed some code in the .bashrc file.
Well my thoughts are to put the ruby on rails installation to work and see if the rvm app is working and functions correctly to test it. Am hoping it doesn't take too long. there is a major problem learning ruby on rails as a newby because it is made to benefit long term users and in the mean time any tutes are for mostly older versions of the ruby interpreter and so if you have the wrong version installed you end up down some dark lonely dead end street. Then wahoo!! whats that ruby version manager!! wow!!! just what i need!!
Actually i thought it was someone having a joke at first because there was a lot of enthusiasm about rvm but no one told you how and where to get it (try github #rvm and
http://rvm.beginrescueend.com/rvm/) Well this really is the answer but need to get it working so anyone with any hints as to how to speed up the process i would appreciate the advice. I joined Github #rvm but the interface is a bit foreign and i am downunder and a little to the side so the times people are on such as the author of the rvm package itself is out of sinc.
Anyone that resolved the change in the .bashrc file? your help would be apreciated. the line that has to be changed is
'[ -z "$PS1" ] && return'
its at the top of the file just after introduction the comments for the file. the return statement is the problem and is there in the ubuntu distro's. I did what they said in the tute changing it to:
if [[ -n "$PS1" ]]; then
# Some code here... e.g.
export HISTCONTROL=ignoreboth
fi
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
# This loads RVM into a shell session.
this was copied from the tute itself and that 3rd line is different in ubuntu so left as is it says 'HISTCONTROL=ignoredups:ignorespace'
and not 'export HISTCONTROL=ignoreboth'
so left it as is. I also don't understand what they mean by '# Some code here... eg' written as a comment on the second line of the if statement in front of the 'then ...' method or whatever it is called.
Well just to say i don't know what i am doing here really so if you have any advice, comments, or know-how please leave a reply here for me. thanks again for any contribution its a great help.