# File lib/kwala/actions/gem_plugin.rb, line 17
  def self.load_external_gems
    require 'rubygems'
    # Here we do stuff with the gem api to find all external gems that require kwala.
    # We will assume that they are actions and require them
    # Thanks to Chad Fowler for this bit of code
    Gem.cache.search(//).select do |specification|
      specification.dependencies.map{ |dep| dep.name }.include?('kwala')
    end.each do |depname|
      require depname.name
    end
  end