Skip to content

Instantly share code, notes, and snippets.

@pateketrueke
Created June 17, 2012 02:06
Show Gist options
  • Save pateketrueke/2943149 to your computer and use it in GitHub Desktop.
Save pateketrueke/2943149 to your computer and use it in GitHub Desktop.
Autoupload backtrace (manual)
ek@lamat:~/.local/lib/git/autoupload$ ruby listen.rb
/home/ek/.local/lib/git/autoupload/uploads/screenshot4.png
http://i.imgur.com/miGkN.png
/home/ek/.local/lib/git/autoupload/uploads/.listen_test
/home/ek/.local/lib/git/autoupload/imgur.rb:21:in `upload': undefined method `[]' for nil:NilClass (NoMethodError)
from /home/ek/.local/lib/git/autoupload/imgur.rb:27:in `upload_file'
from listen.rb:19:in `block in <main>'
from /usr/local/lib/ruby/gems/1.9.1/gems/listen-0.4.5/lib/listen/listener.rb:190:in `call'
from /usr/local/lib/ruby/gems/1.9.1/gems/listen-0.4.5/lib/listen/listener.rb:190:in `on_change'
from /usr/local/lib/ruby/gems/1.9.1/gems/listen-0.4.5/lib/listen/listener.rb:199:in `block in initialize_adapter'
from /usr/local/lib/ruby/gems/1.9.1/gems/listen-0.4.5/lib/listen/adapter.rb:162:in `call'
from /usr/local/lib/ruby/gems/1.9.1/gems/listen-0.4.5/lib/listen/adapter.rb:162:in `poll_changed_dirs'
from /usr/local/lib/ruby/gems/1.9.1/gems/listen-0.4.5/lib/listen/adapters/linux.rb:44:in `block in start'
ek@lamat:~/.local/lib/git/autoupload$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment