Using 1.9.2: when i connect netcat, i keep getting an exception:
undefined method external_encoding' for nil:NilClass /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/input-method.rb:70:inencoding'
/Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:242:in block (2 levels) in each_top_level_statement' /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:229:inloop'
/Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in block in each_top_level_statement' /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:228:incatch'
/Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in each_top_level_statement' /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb.rb:155:ineval_input'
/Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:150:in block in start_with_io' /Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:148:incatch'
/Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:148:in start_with_io' /Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:70:inblock (2 levels) in start'
/Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:65:in loop' /Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:65:inblock in start'
However, when i run in 1.8.7, it works.
Could someone look into how to fix this for 1.9.x
(I am on OSX Snow Leopard)
Thanks, rkumar
Using 1.9.2: when i connect netcat, i keep getting an exception:
undefined method
external_encoding' for nil:NilClass /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/input-method.rb:70:inencoding'/Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:242:in
block (2 levels) in each_top_level_statement' /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:229:inloop'/Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in
block in each_top_level_statement' /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:228:incatch'/Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in
each_top_level_statement' /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb.rb:155:ineval_input'/Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:150:in
block in start_with_io' /Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:148:incatch'/Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:148:in
start_with_io' /Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:70:inblock (2 levels) in start'/Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:65:in
loop' /Users/rahul/.rvm/gems/ruby-1.9.2-head/gems/live_console-0.2.1/lib/live_console.rb:65:inblock in start'However, when i run in 1.8.7, it works.
Could someone look into how to fix this for 1.9.x
(I am on OSX Snow Leopard)
Thanks, rkumar