I've been trying to install Ruby and Ruby on Rails through RVM but during the installation process I had some problems. I tried to uninstall RVM through the commands:
rvm implode
gem uninstall rvm
After performing these commands, I thought it was to delete the files .bashrc
; .bash_profile
; .profile
so I did.
When I tried to reinstall RVM these files did not return. How do I proceed, since I have to configure the:
.bashrc
:
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
.bash_profile
:
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
PS: I'm starting in Ubuntu, so I followed these tips initially: link