Starkast/Utilities — Issue #10: create_bind_users_include.rb inte kompatibel med ruby 1.9.2
Author: dentarg
Created: 2011-12-23 22:22:19+00:00
State: open

$ sudo /usr/local/sbin/create_bind_users_include.rb
/usr/local/lib/phoo.rb:41:in `match': can't convert Pathname to String (TypeError)
from /usr/local/lib/phoo.rb:41:in `user'
from /usr/local/lib/phoo.rb:31:in `initialize'
from /usr/local/lib/phoo.rb:17:in `new'
from /usr/local/lib/phoo.rb:17:in `block in find'
from /usr/local/lib/phoo.rb:14:in `collect'
from /usr/local/lib/phoo.rb:14:in `find'
from /usr/local/sbin/create_bind_users_include.rb:10:in `block in

'
from /usr/local/sbin/create_bind_users_include.rb:8:in `open'
from /usr/local/sbin/create_bind_users_include.rb:8:in `

'
$ ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [i386-openbsd4.9]
$ rvm use ruby-1.8.7-p334
Using /home/dentarg/.rvm/gems/ruby-1.8.7-p334
$ sudo /usr/local/sbin/create_bind_users_include.rb