# New

**URL:** <https://rubytalk.org/t/new/37001>\
**Category:** ruby-talk\
**Created:** [17 April 2007 17:29 UTC](https://rubytalk.org/t/new/37001 "2007-04-17T17:29:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nic\_Daniau](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@Nic\_Daniau](https://rubytalk.org/u/Nic_Daniau)\
**Post date:** [17 April 2007 17:29 UTC](https://rubytalk.org/t/new/37001/1 "2007-04-17T17:29:43Z")

</div>

Try Notepad

> **···**
>
> -----Original Message-----  
> From: poison tooth [[mailto:fixxie.wits@gmail.com](mailto:fixxie.wits@gmail.com)]  
> Sent: 17 April 2007 18:23  
> To: ruby-talk ML  
> Subject: new
> 
> Im just learning ruby and im stuck the guide im using says
> 
> "Your first program  
> Congratulations! Now that you have made it this far, you are ready to  
> start writing programs. Hello World Grab a text editor and type in the  
> following:
> 
> puts "Hello World"
> 
> Save the file as hello.rb and run it by typing  
> ruby hello.rb"
> 
> i've tried that more than once and it says the out is:
> 
> "irb(main):001:0\> ruby hello.rb  
> NameError: undefined local variable or method `hello' for main:Object  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from (irb):1  
> irb(main):002:0\> "
> 
> the guide never said what word processor should i use  
> i tried TextEdit.app but it fussed about the .rb  
> so i used Microsoft word and this is what it does...
> 
> Any tips?
> 
> --  
> fish can't fly but birds can  
> birds can't swim but fish can

---

<div class="post-metadata">

**Author:** ![Doan\_Alex](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@Doan\_Alex](https://rubytalk.org/u/Doan_Alex)\
**Post date:** [17 April 2007 17:33 UTC](https://rubytalk.org/t/new/37001/2 "2007-04-17T17:33:25Z")

</div>

Exit irb, and run ruby hello.rb from shell.

> **···**
>
> -----Original Message-----  
> From: Nic Daniau [[mailto:Nic.Daniau@Xchanging.com](mailto:Nic.Daniau@Xchanging.com)]  
> Sent: Tuesday, April 17, 2007 1:30 PM  
> To: ruby-talk ML  
> Subject: Re: new
> 
> Try Notepad
> 
> -----Original Message-----  
> From: poison tooth [[mailto:fixxie.wits@gmail.com](mailto:fixxie.wits@gmail.com)]  
> Sent: 17 April 2007 18:23  
> To: ruby-talk ML  
> Subject: new
> 
> Im just learning ruby and im stuck the guide im using says
> 
> "Your first program  
> Congratulations! Now that you have made it this far, you are ready to  
> start writing programs. Hello World Grab a text editor and type in the  
> following:
> 
> puts "Hello World"
> 
> Save the file as hello.rb and run it by typing  
> ruby hello.rb"
> 
> i've tried that more than once and it says the out is:
> 
> "irb(main):001:0\> ruby hello.rb  
> NameError: undefined local variable or method `hello' for main:Object  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from (irb):1  
> irb(main):002:0\> "
> 
> the guide never said what word processor should i use  
> i tried TextEdit.app but it fussed about the .rb  
> so i used Microsoft word and this is what it does...
> 
> Any tips?
> 
> --  
> fish can't fly but birds can  
> birds can't swim but fish can
