From f3038a40335d28d12f1f4fac5e3593b3ebe796db Mon Sep 17 00:00:00 2001 From: Frank Luithle Date: Wed, 18 Jan 2012 12:23:43 +0100 Subject: [PATCH] Fix 'box help' subcommand for Ruby 1.8.7 This is related to Github issue #599, with a similar fix. --- lib/vagrant/command/box.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/command/box.rb b/lib/vagrant/command/box.rb index d6672e632..e1866bead 100644 --- a/lib/vagrant/command/box.rb +++ b/lib/vagrant/command/box.rb @@ -41,7 +41,7 @@ module Vagrant # Add the available subcommands as separators in order to print them # out as well. keys = [] - @subcommands.each { |key, value| keys << key } + @subcommands.each { |key, value| keys << key.to_s } keys.sort.each do |key| opts.separator " #{key}"