Peter Jones <dev-null / pmade.com> wrote:

> 
> Can you load the yaml file from outside your CGI script?

Nope...

> Are both the
> History and Item class loaded into the runtime before you load the
> yaml file?

YES, because of "rubygems"

i've tried :
require 'man_rep/manpage'
require 'rubygems'
require 'cgi'
require 'yaml'

=> that way probs with yaml

require 'rubygems'
require 'yaml'
require 'cgi'
require 'man_rep/manpage'

=> that way probs with rubygems (unable to find man_rep/manpage ...)

but i could try something else, using "computed" absolute path for
'man_rep/manpage'

thanks for your answer !

-- 
Une B?vue