On Fri, Apr 11, 2008 at 3:55 PM, DeeJay <[EMAIL PROTECTED]> wrote:
> Thanks both. That's nudged things a bit. ditz now runs. HOME still
>  needs setting to something (diagnostic is less helpful than hoe).
>  trying to do ditz add_release gets an error about gecos - isn't that a
>  field in a unix /etc/passwd file?
>

Yes. I also had to hack those lines out of
C:\ruby\lib\ruby\gems\1.8\gems\ditz-0.2\lib\model-objects.rb

---
  def get_default_name
    require 'etc'

    name = Etc.getpwnam(ENV["USER"]).gecos.split(/,/).first
  end
+++
  def get_default_name
    #require 'etc'

    name = "harold" #Etc.getpwnam(ENV["USER"]).gecos.split(/,/).first
  end

hth,
-Harold

Reply via email to