Project

General

Profile

Bug #12061

Updated by steve.misky (Stephen Misk) about 5 years ago

Just upgraded from Ruby 1.9.3-p194 to Ruby 2.3.0 

 eventmachine (1.0.9.1) 
 eventmachine_httpserver (0.2.1) 

 irb 
 2.3.0 :001 > require 'eventmachine' 
  => true 
 2.3.0 :002 > Resolv::IPv6.create('2607:F8B0:4002:C0C::66') 
 RuntimeError: can't modify frozen String 
	 from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/resolv.rb:2462:in `block in create' 
	 from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/resolv.rb:2462:in `scan' 
	 from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/resolv.rb:2462:in `create' 
	 from (irb):2 
	 from /usr/local/rvm/rubies/ruby-2.3.0/bin/irb:11:in `<main>' 
 2.3.0 :003 > Resolv::IPv4.create('74.125.226.19') 
  => #\<Resolv::IPv4 #<Resolv::IPv4 74.125.226.19> 
 2.3.0 :004 >

Back