X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/baf9ff0ec39c13f52ee8d4f087641dc5fcc9c53b..fcc68b4dc198b7cb0cf93467d96038b0844675fe:/vendor/plugins/geokit/install.rb diff --git a/vendor/plugins/geokit/install.rb b/vendor/plugins/geokit/install.rb new file mode 100644 index 0000000..8263e22 --- /dev/null +++ b/vendor/plugins/geokit/install.rb @@ -0,0 +1,7 @@ +# Display to the console the contents of the README file. +puts IO.read(File.join(File.dirname(__FILE__), 'README')) + +# Append the contents of api_keys_template to the application's environment.rb file +environment_rb = File.open(File.expand_path(File.join(File.dirname(__FILE__), '../../../config/environment.rb')), "a") +environment_rb.puts IO.read(File.join(File.dirname(__FILE__), '/assets/api_keys_template')) +environment_rb.close