Coming at this again:

thufir@dur:~/ruby/nntp$ 
thufir@dur:~/ruby/nntp$ ruby nntp.rb
/home/thufir/.rvm/rubies/ruby-1.9.3-p362/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.
thufir@dur:~/ruby/nntp$ 
thufir@dur:~/ruby/nntp$ cat nntp.rb
require 'rubygems'
require 'net/nntp'

Net::NNTP.logger = Log4r::Logger.new 'mylog'
nntp = Net::NNTP.new
thufir@dur:~/ruby/nntp$ 
thufir@dur:~/ruby/nntp$ ruby --version
ruby 1.9.3p362 (2012-12-25 revision 38607) [i686-linux]
thufir@dur:~/ruby/nntp$ 
thufir@dur:~/ruby/nntp$ rvm --version

rvm 1.17.6 (stable) by Wayne E. Seguin <[email protected]>, Michal 
Papis <[email protected]> [https://rvm.io/]

thufir@dur:~/ruby/nntp$ 


this is a problem with the underlying gem, net/nntp?  Looking at:

http://stackoverflow.com/questions/8148762/iconv-deprecation-warning-with-
ruby-1-9-3/10258931#10258931

that's the inference which I draw.



thanks,

Thufir



-- 
[email protected] | 
https://groups.google.com/d/forum/ruby-talk-google?hl=en


Reply via email to