minhajuddin/taskr — Issue #1: SyntaxError on MacOSX
Author: desfrenes
Created: 2011-12-10 15:52:48+00:00
State: open

I'm no ruby developer so this might be normal...

new-host-4:~ mickael$ ruby --version
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10]
new-host-4:~ mickael$ t
/Users/mickael/.taskr-code/lib/taskr.rb:3:in `require': /Users/mickael/.taskr-code/lib/taskr/task.rb:23: syntax error, unexpected ':', expecting ')' (SyntaxError)
Task.new(raw_time: line[0..13].to_i, raw_text: l...
^
/Users/mickael/.taskr-code/lib/taskr/task.rb:23: syntax error, unexpected ':', expecting '='
...e: line[0..13].to_i, raw_text: line[15..-1], raw: line, tags...
^
/Users/mickael/.taskr-code/lib/taskr/task.rb:23: syntax error, unexpected ':', expecting '='
..., raw_text: line[15..-1], raw: line, tags: tags )
^
/Users/mickael/.taskr-code/lib/taskr/task.rb:23: syntax error, unexpected ':', expecting '='
...line[15..-1], raw: line, tags: tags )
^
/Users/mickael/.taskr-code/lib/taskr/task.rb:27: syntax error, unexpected ':', expecting ')'
...self.text.colorize(background: :white, color: :black) : (sel...
^
/Users/mickael/.taskr-code/lib/taskr/task.rb:27: syntax error, unexpected ':', expecting ')'
...') ? self.text.colorize(color: :cyan) : self.text)
^
/Users/mickael/.taskr-code/lib/taskr/task.rb:27: syntax error, unexpected ':', expecting kEND
....text.colorize(color: :cyan) : self.text)
^
/Users/mickael/.taskr-code/lib/taskr/task.rb:27: syntax error, unexpected ')', expecting kEND
/Users/mickael/.taskr-code/lib/taskr/task.rb:76: syntax error, unexpected $end, expecting kEND
from /Users/mickael/.taskr-code/lib/taskr.rb:3
from /Users/mickael/bin/t:9:in `require'
from /Users/mickael/bin/t:9