]> projects.mako.cc - selectricity-live/blob - vendor/plugins/geokit/install.rb
TODO has been modified to relfect bug changes already delt with. Also, autogenerated...
[selectricity-live] / vendor / plugins / geokit / install.rb
1 # Display to the console the contents of the README file.\r
2 puts IO.read(File.join(File.dirname(__FILE__), 'README'))\r
3 \r
4 # Append the contents of api_keys_template to the application's environment.rb file\r
5 environment_rb = File.open(File.expand_path(File.join(File.dirname(__FILE__), '../../../config/environment.rb')), "a")\r
6 environment_rb.puts IO.read(File.join(File.dirname(__FILE__), '/assets/api_keys_template'))\r
7 environment_rb.close\r

Benjamin Mako Hill || Want to submit a patch?