Y
Hacker News
new
|
ask
|
show
|
jobs
by
sidwyn
5363 days ago
I did the step up to "[[ -s $HOME/.rvm/scripts/rvm ]] && . $HOME/.rvm/scripts/rvm", and then tried "rvm install ruby-1.9.2-p290" but it said "rvm: command not found". Ideas?
2 comments
ranza
5363 days ago
I dont belive that bashrc is being executed on a mac as standard. Try:
source ~/.bashrc
If that worked add this to your .bash_profile
[ -f ~/.bashrc ] && . ~/.bashrc
link
z92
5363 days ago
Yes, that worked! I am on OSX Lion.
link
terinjokes
5363 days ago
did you restart your terminal session? I believe that's the next step. did you make sure your bashrc wasn't returning before that bit was executed?
link
sidwyn
5363 days ago
Yep to both.
link
source ~/.bashrc
If that worked add this to your .bash_profile
[ -f ~/.bashrc ] && . ~/.bashrc