macaddr gem does not work on NetBSD 5.01
Support Ticket
+status
answered
+tags
+issues
Installed Wagn 1.3.0 by source download from RubyForge
The first time running ./script/server I received the following error:
RuntimeError (all of /sbin/ifconfig /bin/ifconfig ifconfig ipconfig /all failed):
macaddr (1.0.0) [v] lib/macaddr.rb:49:in `addr'
Running:
- NetBSD/i386 5.0.1
- Ruby 1.8.7
- Rails 2.3.4
Solution:
- Edit wagn/vendor/gems/macaddr-1.0.0/lib/macaddr.rb
- Add '/sbin/ipconfig -a' in the cmds list on line 39