devmen/jumping_words — Issue #2: Ошибка при добавлении слова в словарь
Author: ck3g
Created: 2012-01-29 11:28:22+00:00
State: open

$ ./word -a frenzy: безумие, бешенство
/home/ck3g/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/csv.rb:89:in `open': 'mode' must be 'r', 'rb', 'w', or 'wb' (ArgumentError)
from ./lib/db_words.rb:27:in `add'
from ./word:19
from /home/ck3g/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1298:in `call'
from /home/ck3g/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1298:in `parse_in_order'
from /home/ck3g/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1254:in `catch'
from /home/ck3g/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
from /home/ck3g/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1248:in `order!'
from /home/ck3g/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1339:in `permute!'
from /home/ck3g/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1360:in `parse!'
from ./word:57