> Okay. After some sleep, serching, and epiphany I realized what I was
> looking for was the quick.rb template. The issue I was having is also
> in the CSS tag (@import "C:/gmf/site.css";) in there and it deals with
> the Weblog::expand_path (and therefore the File::expand_path
> function). The CSS and the Archves are the only places where this is
> used in quick.rb and since this is the only default template that uses
> CSS, is that function necessary? Was it just left in there by
> accident?
This is in weblog.rb, line 313, btw.
The problem was that File::expand_path autoomatically appends stuff to
the beginning of the pathname so that it is valid under whatever OS it's
being used in. Under unix(-like) systems, this works because it just
adds a '/'. big deal. With Windows it seems to add a "C:" automatically.
I just appended .gsub( /^\w:/, '') to the function to get rid of the
drive letter, since gsub seems like the way to do things around here.
does anyone have any better suggestions?
sorry for wasting so much time (and I hope this gets posted correctly)
Thomas
_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way