------ art_21853_30012058.1176831073660 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline oops, did not read your email well enough. dont use MS word, use notepad or something MS word puts a lot of formatting stuff in the file hth. sk On 4/17/07, shawn bright <nephish / gmail.com> wrote: > > if your in a linux computer, you may need this at the beginning of your > program > > #!/usr/bin/env ruby > > or > > #!/usr/bin/ruby > > also may need to make the file executatble by > > chmod a+x /path/to/your/program.rb > > hth > > > On 4/17/07, poison tooth <fixxie.wits / gmail.com> wrote: > > > > 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 > > 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 > > > > ------ art_21853_30012058.1176831073660--