View Single Post
Well I checked the version of Ruby again and you were right, it moved. So I linked it like you said and ran the command line version you gave and got this output:

/Users/username/Downloads/OFfline/OFfline.rb:36: warning: don't put space before argument parentheses
/opt/local/lib/ruby/gems/1.8/gems/rb-appscript-0.4.0/lib/appscript.rb:505:in `_send_command': CommandError (Appscript::CommandError)
OSERROR: 1
MESSAGE: NSReceiverEvaluationScriptError: 3 (The object or objects specified by the direct parameter to a command could not be found.)
COMMAND: app("/Applications/OmniFocus.app").documents.ID("lwsmxzYTdmG").projec ts.ID("k2Yu0hmELKd").root_task.parent_task.name.ge t()
from /opt/local/lib/ruby/gems/1.8/gems/rb-appscript-0.4.0/lib/appscript.rb:585:in `method_missing'
from /Users/username/Downloads/OFfline/OFfline.rb:22:in `markup_for_task'
from /Users/username/Downloads/OFfline/OFfline.rb:40:in `each_context'
from /opt/local/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:123:in `instance_eval'
from /opt/local/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:123:in `capture'
from /opt/local/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:155:in `tag!'
from /opt/local/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:211:in `html_tag'
from /opt/local/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/cssproxy.rb:43:in `call'
... 26 levels...
from /opt/local/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:155:in `tag!'
from /opt/local/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:217:in `html_tag'
from (eval):3:in `html'
from /Users/username/Downloads/OFfline/OFfline.rb:71