I have a scripts directory in my merb project.
I run "merb -r scripts/test1.rb"
and get load errors when requiring other ruby files in the same
scripts directory
Errors look like this:
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- /Library/Ruby/Gems/1.8/
gems/merb-core-1.0.12/lib/merb-core/rack/adapter/scripts/test2
(LoadError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from /Library/Ruby/Gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/
adapter/runner.rb:23
How do I get merb to let me load these files?
btw, I tried the thor approach as well. Thor has its own set of
unknowns, like how do I get to use my app classes as well as my script
files.
thanks, Jon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---