Skip to content

Instantly share code, notes, and snippets.

@THUFIR
Created March 25, 2012 08:09
Show Gist options
  • Save THUFIR/2192333 to your computer and use it in GitHub Desktop.
Save THUFIR/2192333 to your computer and use it in GitHub Desktop.
ruby-net-nntp
thufir@dur:~/ruby/nntp$
thufir@dur:~/ruby/nntp$ ruby nntp.rb
/home/thufir/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
nntp..
host...
#<Net::NNTP:0x90d66ec>
/home/thufir/.rvm/gems/ruby-1.9.3-p125/gems/ruby-net-nntp-1.0.0/lib/net/nntp.rb:30:in `logger': uninitialized class variable @@logger in Net::NNTP (NameError)
from /home/thufir/.rvm/gems/ruby-1.9.3-p125/gems/ruby-net-nntp-1.0.0/lib/net/nntp.rb:35:in `debug'
from /home/thufir/.rvm/gems/ruby-1.9.3-p125/gems/ruby-net-nntp-1.0.0/lib/net/nntp.rb:95:in `read_response'
from /home/thufir/.rvm/gems/ruby-1.9.3-p125/gems/ruby-net-nntp-1.0.0/lib/net/nntp.rb:73:in `connect'
from nntp.rb:14:in `<main>'
thufir@dur:~/ruby/nntp$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment