Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
I am not able to download the Ruby 1.9.3-p0 Is there another link to go to so I can download it?
Is it OK if I download a more recent version instead such as Ruby 1.93-p550 ?
For the previous Ruby Basic videos I was using the workspace feature that is available on Treehouse.
I am using a windows computer at the moment. I downloaded the ruby 1.9.3p550 version of Ruby. Do you think that will be OK for following along to this movie or do I need the ruby 1.9.3-p0 version in order to follow along with the lessons?
Brandon Barrette20,485 Points
Yes I would get the latest stable version of. 1.9.3, which you can find here:
It's patch 550.
If the videos use 1.9.3 then in theory you could use 1.9.4 and any 1.9 versions since the last number is just minor fixes. But I wouldn't go to ruby2.0 since that is a completely different version that had some actual changes.
This applies to when you use may install Rails as well.
Thank you so much for your help you guys!! You're a huge help!!
I am at work (I know I'm bad, but it's really slow and I would like to view these helpful Ruby lessons) and I was only able to download the Ruby 1.93-p550 version due to computer installation restrictions.
It was working great and I was able to follow along for the first few lessons; however, in the current video that I am watching I am not able to sync the cmd window and the notepad window.
In notepad, I am writing:
a = 1 puts a
I have tried to make the cmd and notepad window sync by inputting the following functions below in the cmd window:
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\MissyB>cd Desktop C:\Users\MissyB\Desktop>notepad ruby variable_intro.rb C:\Users\MissyB\Desktop>ruby variable_intro.rb ruby: No such file or directory -- variable_intro.rb (LoadError) C:\Users\MissyB\Desktop>cd Desktop The system cannot find the path specified. C:\Users\MissyB\Desktop>notepad ruby variable_intro.rb C:\Users\MissyB\Desktop>ruby variable_intro.rb ruby: No such file or directory -- variable_intro.rb (LoadError) C:\Users\MissyB\Desktop>irb irb(main):001:0> ruby variable_intro.rb NameError: undefined local variable or method `variable_intro' for main:Object from (irb):1 from C:/Ruby193/bin/irb:12:in `<main>' irb(main):002:0> ruby variable_intro.rb NameError: undefined local variable or method `variable_intro' for main:Object from (irb):2 from C:/Ruby193/bin/irb:12:in `<main>' irb(main):003:0>
Does anyone know how I could resolve this issue so I could follow along?...
Sorry for writing such a long message. I wanted to provide you with enough info so you would be able to answer my question easily. I provided the info that was displayed in the cmd window below if needed.
Your help would be much appreciated!! :D
From what I see one of the first errors you get is "ruby variable_intro.rb
ruby: No such file or directory -- variable_intro.rb (LoadError)"
Try to create a file called variable_intro.rb in your desktop since that seems to be the directory you are working on.
If you want to open it with notepad then you can do
START notepad "variable_intro.rb"
then you can add your ruby code in it and proceed. :)
PS. Notepad can make the code hard to read so you can try some other editor as well
OMG Gloria thank you so much! That worked. You are my hero :-) Back to learning... thanks again!!!