Can't convert Hash into String
scottmessinger opened this issue · 3 comments
$ qw date
Warning: error in configuration file: "/Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration/default.rb"
Exception: can't convert Hash into String
/Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration.rb:26:in system' /Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration.rb:26:in
present?'
/Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration.rb:21:in register_if_present' /Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration/default.rb:12:in
load_configuration'
/Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration.rb:68:in eval' /Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration.rb:53:in
load_configuration'
/Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration.rb:68:in load_configuration_files' /Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration.rb:67:in
each'
/Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/../lib/qwandry/configuration.rb:67:in load_configuration_files' /Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/gems/qwandry-0.1.2/bin/qw:11 /Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/bin/qw:19:in
load'
/Users/ScottMessinger/.rvm/gems/ree-1.8.7-2010.02@mongocc/bin/qw:19
No packages matched 'date'
Any ideas what's going on?
I think that perhaps there is a difference between what ruby 1.9.x supports for the Kernel#system
call than what ruby 1.8.x supports. I think this might also be causing a problem with Rubinius.
I'll try taking a look later today, unless any friendly volunteers show up :)
Fixed in 0.1.4
Awesome. Thanks!