After the linking with Github and Hub section, add:
Ruby and Rbenv
run ./config/rbenv.sh
Note that we don't do any Rails pre-installing or anything so we might should not included Rails in the title, however this does prepare us for working with Rails.
Also Rbenv install proved tricky
What we got working was placing these Rbenv PATH and init lines in ~/.bash_profile and NOT in ~/.bashrc:
~/.bash_profile looks like this:
test -f ~/.bashrc && source ~/.bashrc
# RBenv paths that we don't seem to need:
# export PATH="$HOME/.rbenv/shims:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
export PATH="/usr/local/sbin:$PATH"
export PATH="/usr/local/bin:$PATH"
# Make sure this is at the end of this file:
if which rbenv > /dev/null; then
eval "$(rbenv init -)"
fi
After the linking with Github and Hub section, add:
Ruby and Rbenv
run
./config/rbenv.sh
Note that we don't do any Rails pre-installing or anything so we might should not included Rails in the title, however this does prepare us for working with Rails.
Also Rbenv install proved tricky What we got working was placing these Rbenv PATH and init lines in
~/.bash_profile
and NOT in~/.bashrc
:~/.bash_profile
looks like this:~/.bashrc
looks like this: