You are not logged in.
Pages: 1
Hi all,
I want to install rvm and ruby on my arch,
I followed rvm installation instructions:
\curl -sSL https://get.rvm.io | bash -s stable --ruby
this installed rvm and ruby 2.2.1 successfully, i was able to use "rvm list" and "rvm install" commands normally
I then installed ruby 2.2.0 and 2.0.0 using "rvm install"
the problem when I tried to run ruby -v command from my terminal (i use terminator with oh my zsh), the response was
zsh: command not found: ruby
I tried to edit ~/.bashrc file, I appended export PATH="$PATH:$HOME/.rvm/rubies/default/bin" to it, no results
but when I used the source command, it worked
source ~/.bashrc
ruby -v
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
if I exit and run again without source command, it failed again....
Contents of my .bashrc file now
#
# ~/.bashrc
## If not running interactively, don't do anything
[[ $- != *i* ]] && returnalias ls='ls --color=auto'
PS1='[\u@\h \W]\$ 'export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PATH="$PATH:$HOME/.rvm/rubies/default/bin"
Any help will be appreciated, and thanks for your attention...
Last edited by ahmadelmorshedy (2015-11-07 15:45:01)
Offline
Ok... I finally found what the probleem was...
I installed zsh and using oh my zsh, it's configured to be my terminal,
all i need to do was to edit ~./zshrc instead of ~/.bashrc file
Does anybody knows how to mark this thread as solved ??? thanks again and sorry for disturbance
Last edited by ahmadelmorshedy (2015-11-07 15:45:36)
Offline
You can mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Thanks for your response
Offline
Pages: 1