lib/puggernaut/gems.rb in puggernaut-0.1.4 vs lib/puggernaut/gems.rb in puggernaut-0.1.5

- old
+ new

@@ -34,10 +34,10 @@ puts "rubygems library could not be required" if @config.warn end self.gemset ||= gemset_from_loaded_specs - gems.flatten.collect(&:to_sym).each do |name| + gems.flatten.collect { |g| g.to_sym }.each do |name| version = @versions[name] vendor = File.expand_path("../../../vendor/#{name}/lib", __FILE__) if File.exists?(vendor) $:.unshift vendor elsif defined?(gem) \ No newline at end of file