`vagrant --help` now works for Ruby 1.8.7 [GH-599]

This commit is contained in:
Mitchell Hashimoto 2011-12-20 16:28:45 -08:00
parent 6a191f968c
commit ee389c33f7
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,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 = []
Vagrant.commands.each { |key, value| keys << key } Vagrant.commands.each { |key, value| keys << key.to_s }
keys.sort.each do |key| keys.sort.each do |key|
opts.separator " #{key}" opts.separator " #{key}"