Skip to content

Instantly share code, notes, and snippets.

@practicingruby
Created September 24, 2011 14:52
Show Gist options
  • Select an option

  • Save practicingruby/1239413 to your computer and use it in GitHub Desktop.

Select an option

Save practicingruby/1239413 to your computer and use it in GitHub Desktop.
seacreature:~$ rvm 1.8.7
seacreature:~$ irb
>> if true: true end
=> true
>> exit
seacreature:~$ rvm 1.9.2
seacreature:~$ irb
>> if true: true end
SyntaxError: (irb):1: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
if true: true end
^
from /Users/seacreature/.rvm/rubies/ruby-1.9.2-p180/bin/irb:16:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment