[Parsetree] error when requiring parse_tree

Jonathan Fischoff jfischoff at yahoo.com
Sun Sep 25 22:41:06 PDT 2005


when I run this code:

require 'parse_tree'

I get this error:

C:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.4.0/./inline.rb:64:in
`test': cannot convert nil into String (TypeError)
	from
C:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.4.0/./inline.rb:64:in
`rootdir'

which takes me to the code marked by the -->>

  def self.rootdir
    env = ENV['INLINEDIR'] || ENV['HOME']
    unless defined? @@rootdir and env == @@rootdir and
test ?d, @@rootdir then
      rootdir = ENV['INLINEDIR'] || ENV['HOME']
-->>  Dir.mkdir rootdir, 0700 unless test ?d, rootdir
      Dir.assert_secure rootdir
      @@rootdir = rootdir
    end

I am running ruby on windows xp if that is any help. 
Thanks in advance!

-Jonathan


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the Parsetree mailing list