Add Google Map of voters
[selectricity] / vendor / plugins / geokit / install.rb
diff --git a/vendor/plugins/geokit/install.rb b/vendor/plugins/geokit/install.rb
new file mode 100644 (file)
index 0000000..8263e22
--- /dev/null
@@ -0,0 +1,7 @@
+# Display to the console the contents of the README file.\r
+puts IO.read(File.join(File.dirname(__FILE__), 'README'))\r
+\r
+# Append the contents of api_keys_template to the application's environment.rb file\r
+environment_rb = File.open(File.expand_path(File.join(File.dirname(__FILE__), '../../../config/environment.rb')), "a")\r
+environment_rb.puts IO.read(File.join(File.dirname(__FILE__), '/assets/api_keys_template'))\r
+environment_rb.close\r

Benjamin Mako Hill || Want to submit a patch?