RubyGems Navigation menu

decc_2050_model 3.5.1-x86_64-linux

# 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 there is an example script that creates a new EC2 EMI, installs all the dependencies and then compiles the gem. It may be useful if you are trying to figure out the complete set of dependencies. ## 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/model.xlsx Then, from the top directory of the gem: bundle bundle exec rake The next step is to check whether Rakefile, lib/model/_model_result.rb and lib/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 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:
=

インストール:
=

バージョン履歴:

  1. 3.5.1 December 04, 2013 x86_64-linux (25.4MB)
  2. 3.5.1 November 27, 2013 (2.3MB)
  3. 3.5.0 November 19, 2013 (2.3MB)
  4. 3.5.0 November 19, 2013 x86_64-linux (25.4MB)
  5. 3.4.8 November 12, 2013 x86_64-linux (25.4MB)
全てのバージョンを表示(全24件)

Runtime依存関係 (1):

ffi >= 1.0.11

Development依存関係 (1):

所有者:

作者:

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

SHA 256チェックサム:

=

累計ダウンロード数 85,513

このバージョンのみ 3,794

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: > 1.9.1

リンク: