sujrd / suj-pusher

Simple stand alone push notification server that supports APN and GCM services.
MIT License
2 stars 0 forks source link

Error running pusher #7

Closed ppanther1000 closed 8 years ago

ppanther1000 commented 10 years ago

Thank you for your great work on suj-pusher

Debian 7 gem install suj-pusher

Running pusher leads to following error. Do you have an idea how to solve this? I could not really find a syntax error in /var/lib/gems/1.8/gems/suj-pusher-0.2.5/bin/pusher line 58


/usr/local/bin/pusher:23:in `load': /var/lib/gems/1.8/gems/suj-pusher-0.2.5/bin/pusher:58: syntax error, unexpected ':', expecting ')' (SyntaxError) sync_log: true, ^ /var/lib/gems/1.8/gems/suj-pusher-0.2.5/bin/pusher:58: Can't assign to true /var/lib/gems/1.8/gems/suj-pusher-0.2.5/bin/pusher:59: syntax error, unexpected ':', expecting '=' working_dir: Dir.pwd, ^ /var/lib/gems/1.8/gems/suj-pusher-0.2.5/bin/pusher:60: syntax error, unexpected ':', expecting '=' processes: 1, ^ from /usr/local/bin/pusher:23

hsanson commented 10 years ago

Looks like you are using ruby1.8 that is not supported by suj-pusher. Ensure you are using ruby1.9.3 or latter.