Closed jeannot49 closed 5 years ago
@jeannot49 You fix the problem OK? Let me know what the problem was and how you fixed it.
Hello, Yeah sorry it was my fault. I read your commit list just after, then I have installed Ruby2.6. The problem was that I ran the 2.3. I have another bug, but I'll open another issue.
Thanks !
panda-motd should work with Ruby 2.3 or newer, interesting.
Bug description
Hello, I'm facing a little issue with the installation. I have installed Ruby2.3 on my fresh Debian 9 and did the "sudo gem install panda-motd" command. Then I wrote panda-motd ~/.config/panda-motd.yaml and I have an error.
Expected behavior
Generation of a YAML file containing options to customize panda-motd.
Screenshots
If applicable, add screenshots to help explain your problem.
Log file
/var/lib/gems/2.3.0/gems/panda-motd-0.0.11/lib/panda_motd/config.rb:50:in'
load_config': undefined method
[]' for nil:NilClass (NoMethodError) from /var/lib/gems/2.3.0/gems/panda-motd-0.0.11/lib/panda_motd/config.rb:13:ininitialize' from /var/lib/gems/2.3.0/gems/panda-motd-0.0.11/lib/panda_motd/motd.rb:7:in
new' from /var/lib/gems/2.3.0/gems/panda-motd-0.0.11/lib/panda_motd/motd.rb:7:ininitialize' from /var/lib/gems/2.3.0/gems/panda-motd-0.0.11/lib/panda_motd.rb:9:in
new' from /var/lib/gems/2.3.0/gems/panda-motd-0.0.11/lib/panda_motd.rb:9:innew_motd' from /var/lib/gems/2.3.0/gems/panda-motd-0.0.11/bin/panda-motd:5:in
<top (required)>' from /usr/local/bin/panda-motd:22:inload' from /usr/local/bin/panda-motd:22:in
OS Information