2
I’ve been trying to install the Ruby and the Ruby on Rails through the RVM but during the installation process I had some problems. I tried to uninstall the 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 it.
When I tried to reinstall RVM these files did not return. How should 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 on Ubuntu, so I followed these tips initially: https://stackoverflow.com/questions/3558656/how-can-i-remove-rvm-ruby-version-manager-from-my-system
Comment only (:P): these files only influence the
shell
patron, thebash
. You can try using others one day.– Lucas Virgili