lib/ticketmaster/cli/commands/console.rb in ticketmaster-0.3.2 vs lib/ticketmaster/cli/commands/console.rb in ticketmaster-0.3.3

- old
+ new

@@ -14,10 +14,10 @@ end providers = !options[:provider].nil? ? [options[:provider]] : YAML.load_file(config).keys providers.delete 'default' require 'rubygems' require 'ticketmaster' - providers.reduce(requires) do |mem, p| + providers.inject(requires) do |mem, p| begin require "ticketmaster-#{p}" requires << "-r ticketmaster-#{p} " rescue LoadError => exception puts exception