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!
···
--
Posted via http://www.ruby-forum.com/.
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.
···
On Dec 26, 2:57 pm, Cameron Vessey <cameron1...@hotmail.com> wrote:
--
Luis Lavena