Fix 'box help' subcommand for Ruby 1.8.7

This is related to Github issue #599, with a similar fix.
This commit is contained in:
Frank Luithle 2012-01-18 12:23:43 +01:00
parent 8abada25b9
commit f3038a4033
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ module Vagrant
# Add the available subcommands as separators in order to print them # Add the available subcommands as separators in order to print them
# out as well. # out as well.
keys = [] keys = []
@subcommands.each { |key, value| keys << key } @subcommands.each { |key, value| keys << key.to_s }
keys.sort.each do |key| keys.sort.each do |key|
opts.separator " #{key}" opts.separator " #{key}"