I have created both a Ruby Source adaptor and JS (two different rhoconnect projects). The settings.yml file in the ruby project holds the poll interval
but the JS project does not have the setting in the setting.yml file. When I add the sample setting - rhoconnect will not run from my laptop (windows demo).
If I add the following to the settings.yml:
I get the following error when I try to start rhoconnect
[09:01:49.816 AM 2013-11-04] Rhoconnect Server v4.0.0 started...
C:/Rho/4.0/MotorolaRhoMobileSuite4.0.0/ruby/lib/ruby/gems/1.9.1/gems/rhoconnect- 4.0.0/lib/rhoconnect.rb:180:in `load': cannot load such file -- product.rb (Load Error)
If I remove the poll interval - it loads and works. The Ruby project work with these lines - soooo... the question on where do we set the poll interval for JS adaptors?
I've confirmed this is a bug in rhoconnect 4.0.0/4.0.1. It will be fixed in 4.0.2. As a workaround you can move the :poll_interval: to the :development:, :test:, and production environment sections. Thanks for reporting this.