Skip to content
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

Doesnt pull data #2

Open
zikronix opened this issue Jul 7, 2022 · 0 comments
Open

Doesnt pull data #2

zikronix opened this issue Jul 7, 2022 · 0 comments

Comments

@zikronix
Copy link

zikronix commented Jul 7, 2022

Ive confirmed that Grafana can see influx as im getting data from other projects, I can confirm that the ruby install which is local can in fact communicate with the influx and docker containers. However when I launch the script it just sits there and no data is populating the database.

doing a debug presents this

ruby -d -w --verbose main.rb
Exception NameError' at /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:101 - undefined method rubyforge_project=' for class Gem::Specification' Exception LoadError' at /usr/lib/ruby/vendor_ruby/rubygems.rb:1356 - cannot load such file -- rubygems/defaults/ruby
main.rb:43: warning: assigned but unused variable - resp
Exception NoMethodError' at /var/lib/gems/2.7.0/gems/bundler-2.3.17/lib/bundler/dep_proxy.rb:52 - undefined method to_ary' for #Gem::Dependency:0x000000559199c578
Exception NoMethodError' at /var/lib/gems/2.7.0/gems/bundler-2.3.17/lib/bundler/dep_proxy.rb:52 - undefined method to_ary' for #Gem::Dependency:0x0000005591000f00
Exception NoMethodError' at /var/lib/gems/2.7.0/gems/bundler-2.3.17/lib/bundler/dep_proxy.rb:52 - undefined method to_ary' for #Gem::Dependency:0x000000559193b098
Exception NoMethodError' at /var/lib/gems/2.7.0/gems/bundler-2.3.17/lib/bundler/dep_proxy.rb:52 - undefined method to_ary' for #Gem::Dependency:0x000000559192d8a8
Exception NoMethodError' at /var/lib/gems/2.7.0/gems/bundler-2.3.17/lib/bundler/dep_proxy.rb:52 - undefined method to_ary' for #Gem::Dependency:0x00000055918ce4c0
Exception NoMethodError' at /var/lib/gems/2.7.0/gems/bundler-2.3.17/lib/bundler/dep_proxy.rb:52 - undefined method to_ary' for #Gem::Dependency:0x00000055918b7a90
Exception NoMethodError' at /var/lib/gems/2.7.0/gems/bundler-2.3.17/lib/bundler/dep_proxy.rb:52 - undefined method to_ary' for #Gem::Dependency:0x00000055918914f8
Exception NoMethodError' at /var/lib/gems/2.7.0/gems/bundler-2.3.17/lib/bundler/dep_proxy.rb:52 - undefined method to_ary' for #Gem::Dependency:0x00000055918376b0
Exception NameError' at /var/lib/gems/2.7.0/gems/bundler-2.3.17/lib/bundler/rubygems_integration.rb:404 - method gem' not defined in #Class:Kernel
Using Ext extension for JSON.

Im not really sure what to do. I orginally tried to install ruby in its own docker container and struggled with that. Perhaps you can give a step by step for installing ruby and using this on raspbian bullseye.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant