Iconv will be deprecated

Coming at this again:

[email protected]:~/ruby/nntp$
[email protected]:~/ruby/nntp$ ruby nntp.rb
rubygems/custom_require.rb:36:in `require’: iconv will be deprecated in
the future, use String#encode instead.
[email protected]:~/ruby/nntp$
[email protected]:~/ruby/nntp$ cat nntp.rb
require ‘rubygems’
require ‘net/nntp’

Net::NNTP.logger = Log4r::Logger.new ‘mylog’
nntp = Net::NNTP.new
[email protected]:~/ruby/nntp$
[email protected]:~/ruby/nntp$ ruby --version
ruby 1.9.3p362 (2012-12-25 revision 38607) [i686-linux]
[email protected]:~/ruby/nntp$
[email protected]:~/ruby/nntp$ rvm --version

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

[email protected]:~/ruby/nntp$

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


that’s the inference which I draw.



Its not a problem. Its a warning / notification.

Thufir H. wrote:

require ‘net/nntp’
Papis[email protected] [https://rvm.io/]



D. Deryl D.

“The bug which you would fright me with I seek” - William Shakespeare -
The Winter’s Tale, Act III, Scene II - A court of Justice.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs