- Remove old GR dependencies

This commit is contained in:
Aart van Halteren
2023-01-22 17:36:39 +01:00
parent cf4dff8328
commit db3be6b0d7
3 changed files with 2 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
FROM ruby:2.7
ENV BUILD_PACKAGES="apt-utils build-essential curl less nodejs sudo wget zsh libmariadb-dev libserialport-dev cron gr"
ENV BUILD_PACKAGES="apt-utils build-essential curl less nodejs sudo wget zsh libmariadb-dev libserialport-dev cron"
# throw errors if Gemfile has been modified since Gemfile.lock
RUN \

View File

@@ -8,9 +8,6 @@ gem 'rufus-scheduler'
gem 'daemons'
gem 'mail'
gem 'nokogiri'
gem 'ruby-gr'
gem 'gr-plot'
gem 'histogram'
gem 'numo-narray'
gem 'i18n'
gem 'gruff'

View File

@@ -146,7 +146,7 @@ class Cost
end
g.labels = hours
g.data :costs, costs
g.write("plots/easy_tariff_%s.png" % date.strftime("%F"))
g.write("plots/easy_cost_%s.png" % date.strftime("%F"))
# return the sum cost
costs.sum