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:
parent
8abada25b9
commit
f3038a4033
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue