RubyGems Navigation menu

global_2050_model 0.0.2

# DECC 2050 CALCULATOR TOOL A C version and ruby wrapper for the www.decc.gov.uk 2050 energy and climate change excel calculator Further detail on the project: http://www.decc.gov.uk/2050 Canonical source: http://github.com/decc/decc_2050_model ## DEPENDENCIES 1. ruby 1.9.2 (including development headers) 2. basic c development headers This has ONLY been tested on OSX and on Ubuntu 64 bit EC2 ami. Grateful for reports from other platforms. In the util folder are two example scripts than can be helpful: 1. start-high-memory-instance.sh - is the script we use to setup an aws server to compile the model. You can't use it directly, because you won't have the right keys and certificates, but it can give clues. 2. setup-2050-model-builder-script.sh - is the script we use to get all the dependencies on that aws server correct, download this code, and then compile the model. Again, it may not be quite right for you but can server as inspiration ## INSTALLATION Note that this compiles the underlying c code, which might take 10-20 minutes or so gem install decc_2050_model ## UPDATING TO NEWER VERSIONS OF EXCEL MODEL First of all, you need to be working on the github version of the code, not the rubygem: git clone http://github.com/decc/decc_2050_model Then put the new spreadsheet in spreadsheet/2050Model.xlsx Then, from the top directory of the gem: bundle bundle exec rake The next step is to check whether lib/decc_2050_model/decc_2050_model_result.rb and lib/decc_2050_model/model_structure.rb need to be altered so that they pick up the correct places in the underlying excel. The final stage is to build and install the new gem: gem build decc_2050_model.gemspec gem install decc_2050_model-.gem ... where is the version number of the gem file that was created in the folder. Now follow the instructions in the twenty-fifty server directory in order to ensure that it is using this new version of the gem.

Gemfile:
= Copy to clipboard Copied!

Installeer:
=

Versies:

  1. 0.0.2 - October 12, 2012 x86_64-darwin-12 (29,4 MB)
  2. 0.0.2 - October 12, 2012 x86_64-linux (23,2 MB)
  3. 0.0.2 - October 12, 2012 (2,67 MB)
  4. 0.0.1 - October 11, 2012 x86_64-darwin-12 (29,4 MB)
  5. 0.0.1 - October 11, 2012 x86_64-linux (25,4 MB)
Toon alle versies (6 totaal)

Runtime afhankelijkheden (1):

ffi >= 1.0.11

Development afhankelijkheden (1):

Eigenaren:

Authors:

  • Thomas Counsell, Department of Energy and Climate Change, Her Majesty's Government, UK

SHA 256 checksum:

bb0896f468419c5aaa424ae231d5e8383b88d218ffe2928e286b0935510c1bbe

Total downloads 21.549

Voor deze versie 4.290

Licenties:

N/A

Required Ruby Version: ~> 1.9.1

Links: