lib/boson/manager.rb in boson-0.3.0 vs lib/boson/manager.rb in boson-0.3.1
- old
+ new
@@ -62,17 +62,18 @@
def load_once(source, options={})
@options = options
rescue_load_action(source, :load) do
lib = loader_create(source)
if loaded?(lib.name)
- $stderr.puts "Library #{lib.name} already exists" if options[:verbose] && !options[:dependency]
+ $stderr.puts "Library #{lib.name} already exists." if options[:verbose] && !options[:dependency]
false
else
if lib.load { load_dependencies(lib, options) }
lib
else
- $stderr.puts "Unable to load library #{lib.name}." if !options[:dependency]
+ $stderr.puts "Library #{lib.name} did not load successfully." if !options[:dependency]
+ $stderr.puts " "+lib.inspect if Runner.debug
false
end
end
end
end
@@ -163,6 +164,6 @@
end
end
#:startdoc:
end
end
-end
\ No newline at end of file
+end