From ee389c33f7cca928ce8ae5958ae762ffa1e57fb4 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 20 Dec 2011 16:28:45 -0800 Subject: [PATCH] `vagrant --help` now works for Ruby 1.8.7 [GH-599] --- lib/vagrant/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/cli.rb b/lib/vagrant/cli.rb index 4158f16dd..0133daedd 100644 --- a/lib/vagrant/cli.rb +++ b/lib/vagrant/cli.rb @@ -54,7 +54,7 @@ module Vagrant # Add the available subcommands as separators in order to print them # out as well. keys = [] - Vagrant.commands.each { |key, value| keys << key } + Vagrant.commands.each { |key, value| keys << key.to_s } keys.sort.each do |key| opts.separator " #{key}"