"Upgrading from1.8.6 to

C

Cameron Vessey

Hello!

So I need to upgrade my ruby vesion. I ran the windows installer and it
creates a new file "ruby192". Run ruby version and it says it's still
1.8.6

So I tried installing the windows installer of 1.8.7 and I noticed a box
that says "add ruby executables to your path" and another that says
"associate .rb files with this ruby installation" I thought .... that
makes sense.. used that option .. still ruby comes up as version 1.8.6
from the command line.

On a side note my laptop got wiped, and I can't get ruby any thing
reinstalled on that.... I have every thing in the ruby folder but it
doesn't recognize any ruby commands inles your in the bin folder. I am
missing some thing here for sure. To me it seems that ruby or the newer
versions arn't getting actually installed into the system.config

I really need the upgrade on my first question, the laptop I can live
with out.

Thanks!
 
L

Luis Lavena

Hello!

So I need to upgrade my ruby vesion. I ran the windows installer and it
creates a new file "ruby192". Run ruby version and it says it's still
1.8.6

That is because your previous Ruby 1.8.6 is installed higher in the
PATH priority. When RubyInstaller is not installed as Administrator,
it can only affect user's PATH, not system one.

You can always use "Start Command Prompt with Ruby" from All Programs,
Ruby 1.9.2 group.
So I tried installing the windows installer of 1.8.7 and I noticed a box
that says "add ruby executables to your path" and another that says
"associate .rb files with this ruby installation" I thought .... that
makes sense.. used that option   .. still ruby comes up as version 1.8.6
from the command line.

Same as above.
On a side note my laptop got wiped, and I can't get ruby any thing
reinstalled on that.... I have every thing in the ruby folder but it
doesn't recognize any ruby commands inles your in the bin folder. I am
missing some thing here for sure. To me it seems that ruby  or the newer
versions arn't getting actually installed into the system.config

Dunno what you mean by system.config, but If you installed
RubyInstaller, you need to add the 'bin' directory to the PATH to make
it usable (in a command prompt):

SET PATH=C:\Ruby192\bin;%PATH%
ruby -v

That should output the version of the installed Ruby.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top