Open zbourdeau opened 6 years ago
Which ruby version are you using? Run ruby -v
, please.
ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [arm-linux-eabihf]
I think there are some language compatibility issues between your 1.8.7 version and the 2.x.x version I used during development. If you have chance, try to upgrade to a newer Ruby version, I think it would solve the problem. Consider 1.8.7 is no longer a supported Ruby version, see Ruby download page. Anyway I will look into the technical details of the error during this weekend and will let you know...
Here is a better page to see the EOL (end of life) state of the various Ruby versions.
When I try to run the latest fault_tolerant_router package on a raspi 3 I am seeing the following issue:
$ fault_tolerant_router generate_config /usr/local/bin/fault_tolerant_router:23:in `load': /var/lib/gems/1.8/gems/fault_tolerant_router-1.2.0/bin/fault_tolerant_router:75: odd number list for Hash (SyntaxError) configuration_file: '/etc/fault_tolerant_router.conf', ^ /var/lib/gems/1.8/gems/fault_tolerant_router-1.2.0/bin/fault_tolerant_router:75: syntax error, unexpected ':', expecting '}' configuration_file: '/etc/fault_tolerant_router.conf', ^ /var/lib/gems/1.8/gems/fault_tolerant_router-1.2.0/bin/fault_tolerant_router:75: syntax error, unexpected ',', expecting $end from /usr/local/bin/fault_tolerant_router:23
Any suggestions?