# Learn Ruby - Lesson 0: Setup and Installation

**URL:** <https://www.ruby-forum.com/t/learn-ruby-lesson-0-setup-and-installation/185666>\
**Category:** Ruby\
**Created:** [March 24, 2010, 11:39am UTC](https://www.ruby-forum.com/t/learn-ruby-lesson-0-setup-and-installation/185666 "2010-03-24T11:39:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Space\_Ship\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e274bd/32.png) [@Space\_Ship\_T](https://www.ruby-forum.com/u/Space_Ship_T)\
**Post date:** [March 24, 2010, 11:39am UTC](https://www.ruby-forum.com/t/learn-ruby-lesson-0-setup-and-installation/185666/1 "2010-03-24T11:39:29Z")

</div>

Hello,

I’m writing a tutorial for beginners, primarily aimed at Teachers and  
Students.

I’ve written the following tutorial.

[http://www.oriontransfer.co.nz/education/learn-ruby/lesson-0/index](http://www.oriontransfer.co.nz/education/learn-ruby/lesson-0/index)

Any feedback would be really really helpful. Thanks to anyone who takes  
a look.

Any suggestions or feedback would be fantastic - what should I add or  
remove, what was not clear / etc.

Kind regards,  
Samuel

---

<div class="post-metadata">

**Author:** ![Space\_Ship\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e274bd/32.png) [@Space\_Ship\_T](https://www.ruby-forum.com/u/Space_Ship_T)\
**Post date:** [March 24, 2010, 11:55am UTC](https://www.ruby-forum.com/t/learn-ruby-lesson-0-setup-and-installation/185666/2 "2010-03-24T11:55:38Z")

</div>

Space Ship T. wrote:

> Hello,
> 
> I’m writing a tutorial for beginners, primarily aimed at Teachers and  
> Students.
> 
> I’ve written the following tutorial.
> 
> [http://www.oriontransfer.co.nz/education/learn-ruby/lesson-0/index](http://www.oriontransfer.co.nz/education/learn-ruby/lesson-0/index)
> 
> Any feedback would be really really helpful. Thanks to anyone who takes  
> a look.
> 
> Any suggestions or feedback would be fantastic - what should I add or  
> remove, what was not clear / etc.
> 
> Kind regards,  
> Samuel

Hello,

I think there is a small error in the last example. It’s written:  
# Do you wear a watch? Ruby can help you out!  
puts “The time is: #{Time.now.to\_s}”

I think it should say:

```
         puts "The time is: #{Time.now.to_s}"

```

---

<div class="post-metadata">

**Author:** ![Space\_Ship\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e274bd/32.png) [@Space\_Ship\_T](https://www.ruby-forum.com/u/Space_Ship_T)\
**Post date:** [March 24, 2010, 12:11pm UTC](https://www.ruby-forum.com/t/learn-ruby-lesson-0-setup-and-installation/185666/3 "2010-03-24T12:11:07Z")

</div>

Oh yes, Thanks - I’ve fixed it 🙂

---

<div class="post-metadata">

**Author:** ![Space\_Ship\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e274bd/32.png) [@Space\_Ship\_T](https://www.ruby-forum.com/u/Space_Ship_T)\
**Post date:** [March 24, 2010, 12:26pm UTC](https://www.ruby-forum.com/t/learn-ruby-lesson-0-setup-and-installation/185666/4 "2010-03-24T12:26:20Z")

</div>

> > > [http://www.oriontransfer.co.nz/education/learn-ruby/lesson-0/index](http://www.oriontransfer.co.nz/education/learn-ruby/lesson-0/index)  
> > > Hello,
> > 
> > I think there is a small error in the last example. It’s written:  
> > # Do you wear a watch? Ruby can help you out!  
> > puts “The time is: #{Time.now.to\_s}”
> > 
> > I think it should say:
> > 
> > ```
> > puts "The time is: #{Time.now.to_s}"
> > 
> > ```

I haven’t read the tutorial, but this can be written as:

puts “The time is: #{Time.now}”

since string interpolation calls to\_s for you.

Jesus.
