Installing Ruby 1.9.2 on Win7

B

Bill Campbell

Hi,
I'm a total noob to Ruby and am following the pick axe book and
installing Ruby for the first time using the OneClick installer. I want
to us RoR 3.0 and it gives me errors with Ruby 1.9.1 and compatibility.
I was reading that you can use rvm to install Ruby versions but that
appears to only be for unix? What's the best way to install Ruby
1.9.2rc2 on my Windows7 machine?
thanks!
Bill Campbell
 
B

Brian Candler

Bill said:
Hi,
I'm a total noob to Ruby and am following the pick axe book and
installing Ruby for the first time using the OneClick installer. I want
to us RoR 3.0 and it gives me errors with Ruby 1.9.1 and compatibility.
I was reading that you can use rvm to install Ruby versions but that
appears to only be for unix? What's the best way to install Ruby
1.9.2rc2 on my Windows7 machine?

Not answering your question directly, but RoR 3.0 should also be
compatible with ruby 1.8.7.
 
B

Bill Campbell

Roger said:
What's the best way to install Ruby

http://rubyinstaller.org/

click on downloads, look for 1.9.2

Thanks Roger...

There isn't an installer for 1.9.2rc2. It's marked as Experimental. I
can download it but not sure what to do after that.

regards,
Bill Campbell
 
B

Bill Campbell

Brian said:
Not answering your question directly, but RoR 3.0 should also be
compatible with ruby 1.8.7.

Brian,

Thanks! The book had recommended using at least 1.9.1 but there seems to
be alot of issues with that version so I thought I'd try to figure out
how to use the 1.9.2 that others have said solve many of those problems.
regards,
Bill Campbell
 
B

Brian Candler

Bill said:
Thanks! The book had recommended using at least 1.9.1 but there seems to
be alot of issues with that version so I thought I'd try to figure out
how to use the 1.9.2 that others have said solve many of those problems.

ruby 1.9.x is a fundamentally different language to 1.8.x, both in its
implementation (YARV engine) and in its core behaviour (especially
Strings which are totally different). I'm afraid the "minor" point
revision is highly misleading.

Personally I much prefer the ruby 1.8 language, and that's what I'm
sticking with. This is not an opinion shared by the majority here, but
it's something you'll have to make your own mind up about.

If Rails ever goes 1.9-only, then I'll be dropping Rails.

Regards,

Brian.
 
R

Roger Pack

There isn't an installer for 1.9.2rc2. It's marked as Experimental. I
can download it but not sure what to do after that.

unzip it using 7 zip, cd into the "bin" folder, run ruby from there. Or
add the bin folder to your path.
 
L

Luis Lavena

Thanks Roger...

There isn't an installer for 1.9.2rc2. It's marked as Experimental. I
can download it but not sure what to do after that.

You need 7-zip to extract that package.

You can extract it to any directory and after append the bin directory
to the PATH.

If what I'm saying is too complicated (or have no idea what all that
means) then use 1.8.7 from the installers.
 
B

Bill Campbell

Brian said:
ruby 1.9.x is a fundamentally different language to 1.8.x, both in its
implementation (YARV engine) and in its core behaviour (especially
Strings which are totally different). I'm afraid the "minor" point
revision is highly misleading.

Personally I much prefer the ruby 1.8 language, and that's what I'm
sticking with. This is not an opinion shared by the majority here, but
it's something you'll have to make your own mind up about.

If Rails ever goes 1.9-only, then I'll be dropping Rails.

Regards,

Brian.

Brian,
Good insight - I hadn't thought about this part at all. Thanks for the
thoughts on this.
regards,
Bill
 
B

Bill Campbell

Roger said:
unzip it using 7 zip, cd into the "bin" folder, run ruby from there. Or
add the bin folder to your path.

Roger,
Makes sense - thanks!
regards,
Bill Campbell
 
B

Bill Campbell

Luis said:
You need 7-zip to extract that package.

You can extract it to any directory and after append the bin directory
to the PATH.

If what I'm saying is too complicated (or have no idea what all that
means) then use 1.8.7 from the installers.

Hi Luis,
Makes perfect sense. Thanks!
regards,
Bill Campbell
 

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
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top