jschank/timesheet — Issue #8: Syntax errors
Author: wulftone
Created: 2011-12-15 00:24:29+00:00
State: open

Hi there,

I tried to use this gem and it gave me syntax errors. : | See below for details:

trevor@wulf ~ $ timesheet
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/timesheet-0.2.8/lib/timesheet.rb:56: warning: else without rescue is useless
/home/trevor/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': /home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/timesheet-0.2.8/lib/timesheet.rb:51: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError)
when :add : process_add_command(command_opts)
^
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/timesheet-0.2.8/lib/timesheet.rb:52: syntax error, unexpected keyword_when, expecting keyword_end
when :edit : process_edit_command(command_opts)
^
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/timesheet-0.2.8/lib/timesheet.rb:53: syntax error, unexpected keyword_when, expecting keyword_end
when :delete : process_delete_command(command_opts)
^
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/timesheet-0.2.8/lib/timesheet.rb:54: syntax error, unexpected keyword_when, expecting keyword_end
when :report : process_report_command(command_opts)
^
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/timesheet-0.2.8/lib/timesheet.rb:85: syntax error, unexpected keyword_end, expecting $end
from /home/trevor/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from /home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/timesheet-0.2.8/bin/timesheet:5:in `'
from /home/trevor/.rvm/gems/ruby-1.9.2-p290/bin/timesheet:19:in `load'
from /home/trevor/.rvm/gems/ruby-1.9.2-p290/bin/timesheet:19:in `

'