我刚刚升级到Rails 3,在过去的24小时内,我开始在控制台中看到一条新的错误消息:
Errno::ENOMEM: Not enough space - <STDOUT>
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:311:in `write'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:311:in `printf'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:311:in `output_value'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:160:in `block (2 levels) in eval_input'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:273:in `signal_status'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:155:in `eval_input'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:70:in `block in start'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:69:in `catch'
from C:/Sanj/Ruby192/lib/ruby/1.9.1/irb.rb:69:in `start'
from C:/Sanj/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands/console.rb:44:in `start'
from C:/Sanj/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands/console.rb:8:in `start'
from C:/Sanj/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'Maybe IRB bug!!
这是一个特别恼人的错误,因为我无法执行任何涉及超过50条记录的Rails操作。如何解决这个问题?