Ruby file won't run in Max OSX Terminal. syntax error, unexpected end-of-input, expecting keyword_end -



Ruby file won't run in Max OSX Terminal. syntax error, unexpected end-of-input, expecting keyword_end -

using:

rvm 1.26.0 ruby 2.1.4 osx mavericks 10.9.5 textedit terminal

i'm working on larn code ruby hard way tutorial. first program.

puts "hello world!" puts "hello again" puts "i typing this." puts "this fun." puts "yay! printing." puts "i'd must rather 'not'." puts 'i "said" not touch this.'

this comes in terminal.

ex1.rb:7: syntax error, unexpected end-of-input, expecting keyword_end puts 'i "said" not touch this."

i have nitrious.io business relationship , file runs on it. have searched answer, of other questions involve more complicated programs solutions don't seem apply simple this. understanding terminal should print these no issues. help appreciated!

if re-create pasted code exactly, issue quotes. need standard " instead of have (“). happens time when re-create pasting blogs automatically alter on " open/close double quotes.

ruby terminal osx-mavericks

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -