We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A NoMethodError is raised when the DISPLAY environment variable is not set due to https://github.com/mvidner/ruby-dbus/blob/v0.11.0/lib/dbus/bus.rb#L611
NoMethodError
undefined method '[]' for nil:NilClass (NoMethodError)
The text was updated successfully, but these errors were encountered:
Indeed. To reproduce it,
(unset DBUS_SESSION_BUS_ADDRESS DISPLAY; ruby -r dbus -e 'p DBus.session_bus')
I see, a bug fix broke a method that is not covered by tests: https://coveralls.io/files/138379387#L611
Sorry, something went wrong.
Rescue getting DBus::SessionBus.instance when DISPLAY environment var…
45c05be
…iable is not set Related: mvidner/ruby-dbus#53
No branches or pull requests
A
NoMethodError
is raised when the DISPLAY environment variable is not set due to https://github.com/mvidner/ruby-dbus/blob/v0.11.0/lib/dbus/bus.rb#L611The text was updated successfully, but these errors were encountered: