RVM-Wrapper eingebaut, nur zwecks Backup committet,bitte ignorieren

master
Simon Szustkowski 10 years ago
parent e9ba7b34ca
commit 5da920a77b
  1. 4
      bot.rb
  2. 6
      exec.sh

@ -42,7 +42,7 @@ if (last_status != $current_status)
tweet = "Raumstatus UNBEKANNT."
status = "unknown"
end
client.update(tweet)
$config['worker']['last_status'] = status
File.open(CONFIG_FILE, 'w') { |f| YAML.dump($config, f) }
end
client.update(tweet)
end

@ -0,0 +1,6 @@
#! /usr/bin/env bash
cd /home/simonszu/opt/CTDO-Status
source .rvmrc > /dev/null
ruby bot.rb
Loading…
Cancel
Save