Hello World....... I am very new to code but have been glancing at it
for years. Catching glimpses here and reading articles there, but, I
never actually started doing anything but absorbing info and general
understanding. So.... I started in looking for a code to learn, I start
by looking for a java setup since I drink lots of coffee....lol Well
when reading about java i seen an article about how Ruby was way more
comprehensive and easy going in a sense you don't have to spoon feed the
compiler to make things with your set objects or commands. So i decided
to go with Ruby since it wasn't that hard to understand when reading
_why's Guide to Ruby. I got a few chapters in and started to get swamped
with examples that I never used but only read.... At this point I had
just installed Lucid Lynx(Ubuntu [which i have no experience with
installing through the terminal]) so with Lynx in place I had read a how
to article on installing Ruby and did so successfully.(I am pretty sure
anyway)
So now I have Ruby 1.9.3 with RVM as the main source for my install. At
this point I get confused. How do i use ruby? What I thought of was I
want to be able to enter some code an execute it to see what happens.
Like the "Try Ruby" tutorial page where they have a open ruby enviorment
for people to get a taste of the Ruby in action. I havent been able to
figure out how to do taste testing like that on my own. I have been in
the terminal and typed "Ruby" which is auto loaded at the time the
terminal is opened so then it breaks into the ruby mode and allows me to
write lines and press enter to end the line an move to the next however
it doesn't work like I thought, mostly because I dont know what to think
yet. At this point I want to try the stuff that I have been reading
about in _why's ruby book. Am I just suppose to start writing things in
my terminal? How do i test the code I wrote? How do I save and run the
code right there as I am writing it like in the "Try Ruby"? In the
online try ruby it allows me to enter some code and hit Return to make
it run the script. But when i hit enter in the terminal it just moves to
the next line which leads me to believe that there is a start/end
command to let the Ruby know what I want to run an when to run it.
Basically I don't what is going on, am I using ruby when I type "Ruby"
in the terminal? How do I make things execute and show me the results? I
feel quite close, like I am just missing a few understandings. Like how
do I open ruby, how do i use ruby, and do I interact and communicate
with ruby in a manner that i type and it responds?
I guess I just dont understand fully yet about what to do with ruby and
how to make it talk to me when I talk to it. Yesterday I didn't even
know how to install ruby, but now i have it installed and dont know how
to use it or interact with it. Any advice for someone who is it at
ground zero with NO code experience would be helpful. How do use ruby?
How do I make it function, how do i interact with ruby?
DAY 2 is where I am at on learning Ruby-
···
--
Posted via http://www.ruby-forum.com/.