Hi
I tried to start the rhoconnect app "mobsyncserver" from commandline and it throws error below (any pointers will be helpful - Thank You
):
root@books:/rohit/mobsyncserver# rhoconnect start
Starting redis ...
[28319][01:19:45.188 AM 2017-12-12] Rhoconnect Server v6.0.11 started...
bundler: failed to load command: rackup (/opt/rbenv/versions/2.2.2/bin/rackup)
NoMethodError: undefined method `connect' for Redis:Class
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rhoconnect-6.0.11/lib/rhoconnect/store.rb:890:in `block in _get_redis'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/connection_pool-1.2.0/lib/connection_pool/timed_stack.rb:9:in `block in initiali'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/connection_pool-1.2.0/lib/connection_pool/timed_stack.rb:9:in `initialize'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/connection_pool-1.2.0/lib/connection_pool/timed_stack.rb:9:in `new'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/connection_pool-1.2.0/lib/connection_pool/timed_stack.rb:9:in `initialize'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/connection_pool-1.2.0/lib/connection_pool.rb:48:in `new'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/connection_pool-1.2.0/lib/connection_pool.rb:48:in `initialize'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/connection_pool-1.2.0/lib/connection_pool.rb:92:in `new'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/connection_pool-1.2.0/lib/connection_pool.rb:92:in `initialize'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rhoconnect-6.0.11/lib/rhoconnect/store.rb:887:in `new'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rhoconnect-6.0.11/lib/rhoconnect/store.rb:887:in `_get_redis'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rhoconnect-6.0.11/lib/rhoconnect/store.rb:271:in `create'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rhoconnect-6.0.11/lib/rhoconnect/store.rb:29:in `create'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rhoconnect-6.0.11/lib/rhoconnect.rb:114:in `bootstrap'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rhoconnect-6.0.11/lib/rhoconnect/application/init.rb:31:in `<top (required)>'
/rohit/mobsyncserver/config.ru:2:in `require'
/rohit/mobsyncserver/config.ru:2:in `block in <main>'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'
/rohit/mobsyncserver/config.ru:in `new'
/rohit/mobsyncserver/config.ru:in `<main>'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:49:in `eval'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:49:in `new_from_string'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/builder.rb:40:in `parse_file'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/server.rb:277:in `build_app_and_options_from_config'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/server.rb:199:in `app'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/server.rb:314:in `wrapped_app'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/server.rb:250:in `start'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/lib/rack/server.rb:141:in `start'
/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.5.5/bin/rackup:4:in `<top (required)>'
/opt/rbenv/versions/2.2.2/bin/rackup:23:in `load'
/opt/rbenv/versions/2.2.2/bin/rackup:23:in `<top (required)>'
root@books:/rohit/mobsyncserver#