public
Description: PuppetShow is a Ruby on Rails app that provides a read-only view of stored configuration information from Puppet
Homepage: http://reductivelabs.com/trac/puppetshow
Clone URL: git://github.com/shadoi/puppetshow.git
Adding a couple of fixes to puppetshow.
lak (author)
Mon Feb 25 14:56:54 -0800 2008
commit  042ade7c2ec74be41aa0d2ded8abdb78a04f2021
tree    1ca1ebab3908918010472be13fe691d89f073b6b
parent  842c7e1872347c7a62eac8bea7fe6a61fc6a433d
...
41
42
43
44
 
 
 
 
 
45
...
41
42
43
 
44
45
46
47
48
49
0
@@ -41,5 +41,9 @@ unless defined?(Rails::Initializer)
0
     end
0
   end
0
 
0
- Rails::Initializer.run(:set_load_path)
0
+ Rails::Initializer.run(:set_load_path) do |config|
0
+ config.load_paths += Dir["#{RAILS_ROOT}/vendor/gems/**"].map do |dir|
0
+ File.directory?(lib = "#{dir}/lib") ? lib : dir
0
+ end
0
+ end
0
 end
...
59
60
61
62
 
 
 
 
 
63
64
65
...
59
60
61
 
62
63
64
65
66
67
68
69
0
@@ -59,7 +59,11 @@ end
0
 
0
 # Include your application configuration below
0
 
0
-require 'ruby-debug'
0
+# Try to load ruby-debug, but don't fail if it's missing.
0
+begin
0
+ require 'ruby-debug'
0
+rescue MissingSourceFile
0
+end
0
 require 'puppet'
0
   class Array
0
      def to_h

Comments

    No one has commented yet.