-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RasPi setup issue "odd number list for Hash (SyntaxError)" #27
Comments
Which ruby version are you using? Run |
ruby -v |
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. |
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?
The text was updated successfully, but these errors were encountered: