I am trying to update my Ruby version with my rbenv and am having trouble installing 2.1.1. I have followed the instructions carefully but it does not seem to be working for some reason. Please let me know what I am doing wrong.
Installed ruby-2.1.1 to /Users/user/.rbenv/versions/2.1.1
$
$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
$ rbenv rehash
$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
$ rbenv global 2.1.1
$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
$ rbenv global 2.1.1
$ rbenv rehash
$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
$ rbenv local 2.1.1
$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
$ rbenv versions
system
* 2.1.1 (set by /Users/user/.ruby-version)
$ rbenv global 2.1.1
$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
$
Any thoughts on what's going on?
not sure if this helps get to the root of the issue..
PATH=usr/local/bin:/urs/local/sbin:/usr/local/mysql/bin:usr/local/bin:/urs/local/sbin:/usr/loca /mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
\$ ~/.bash_profile
-bash: /Users/user/.bash_profile: Permission denied
$ ~/.bash_profile
-bash: /Users/user/.bash_profile: Permission denied
$ export PATH="$HOME./rbenv/bin:$PATH"
$ "$(rbenv init -)"
-bash: export PATH="/Users/user/.rbenv/shims:${PATH}"
source "/usr/local/Cellar/rbenv/0.4.0/libexec/../completions/rbenv.bash"
rbenv rehash 2>/dev/null
rbenv() {
typeset command
command="$1"
if [ "$#" -gt 0 ]; then
shift
fi
case "$command" in
rehash|shell)
eval `rbenv "sh-$command" "$@"`;;
*)
command rbenv "$command" "$@";;
esac
}: No such file or directory