Forum: Ruby Having trouble installing Ruby 2.1.1

Bbac9889b9eea3a365fa601f18074d29?d=identicon&s=25 Ruslan Nadjafov (keepcoding)
on 2014-03-15 05:30
Hello,

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?
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.