diff --git a/app_generators/ruby_app/ruby_app_generator.rb b/app_generators/ruby_app/ruby_app_generator.rb
index <HASH>..<HASH> 100644
--- a/app_generators/ruby_app/ruby_app_generator.rb
+++ b/app_generators/ruby_app/ruby_app_generator.rb
@@ -56,7 +56,7 @@ class RubyAppGenerator < RubiGen::Base
       opts.separator 'Options:'
       opts.on("-r", "--ruby=path", String,
              "Path to the Ruby binary of your choice (otherwise scripts use env, dispatchers current path).",
-             "Default: #{DEFAULT_SHEBANG}") { |options[:shebang]| }
+             "Default: #{DEFAULT_SHEBANG}") { |v| options[:shebang] = v }
     end
     
 
diff --git a/lib/rubigen/lookup.rb b/lib/rubigen/lookup.rb
index <HASH>..<HASH> 100644
--- a/lib/rubigen/lookup.rb
+++ b/lib/rubigen/lookup.rb
@@ -168,7 +168,7 @@ module RubiGen
       private
         # Lookup and cache every generator from the source list.
         def cache
-          @cache ||= sources.inject([]) { |cache, source| cache + source.map }
+          @cache ||= sources.inject([]) { |cache, source| cache + source.to_a }
         end
 
         # Clear the cache whenever the source list changes.
fixed some ruby <I> breakages