Specifying load path...

Ezra Zygmuntowicz ez at engineyard.com
Wed Jan 3 14:30:49 EST 2007


On Jan 3, 2007, at 11:14 AM, Fernand Galiana wrote:

> All,
>
>    How can I specify a load path in merb ? I have some classes in a  
> lib directory that needs
>    to be in the load path. Not sure how to accomplish that with  
> merb....
>
> Thanks,
> Fernand
>

	The dist/lib dir is already in the load path automatically. But if  
you are having trouble loading something the best thing to do is to  
either add to the load path or put in specific require statements in  
the dist/conf/merb_init.rb file


-- Ezra Zygmuntowicz 
-- Lead Rails Evangelist
-- ez at engineyard.com
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)




More information about the Merb-devel mailing list