Added the Gruff library to the lib/ directory of the the rails folder, and the
[selectricity] / lib / gruff-0.2.8 / lib / gruff.rb
diff --git a/lib/gruff-0.2.8/lib/gruff.rb b/lib/gruff-0.2.8/lib/gruff.rb
new file mode 100644 (file)
index 0000000..e281916
--- /dev/null
@@ -0,0 +1,24 @@
+# Extra full path added to fix loading errors on some installations.
+
+%w(
+  base
+  area
+  bar
+  line
+  pie
+  spider
+  net
+  stacked_bar
+  side_stacked_bar
+  side_bar
+  accumulator_bar
+
+  scene
+
+  mini/legend
+  mini/bar
+  mini/pie
+  mini/side_bar
+).each do |filename|
+  require File.dirname(__FILE__) + "/gruff/#{filename}"
+end

Benjamin Mako Hill || Want to submit a patch?