Hey there,
I'm trying to get this to work. It seemed like a pretty straight forward
thing, but turned out not to be, for whatever reason. The trace I get
tells me absolutely nothing. I'd love to shed some light on this, and
any help is greatly apreciated.
The moment the init.rb file calls push_path on the slice, I get this:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load
-- /home/chris/src/ruby/raider/app/pages/foobar.markdown (LoadError)
... Where foobar.markdown is just an empty file I placed for testing
purposes. Below is the full trace:
ch...@chris-laptop:~/src/ruby/raider$ bin/merb
bin/merb:14: warning: Insecure world writable
dir /home/chris/src/ruby/raider/bin in PATH, mode 040777
Loading init file from /home/chris/src/ruby/raider/config/init.rb
Loading /home/chris/src/ruby/raider/config/environments/development.rb
~ Connecting to database...
~ Loaded slice 'MerbAuthSlicePassword' ...
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load
-- /home/chris/src/ruby/raider/app/pages/foobar.markdown (LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core/bootloader.rb:866:in
`load_file'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core/bootloader.rb:900:in
`load_classes'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core/bootloader.rb:898:in
`each'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core/bootloader.rb:898:in
`load_classes'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core/bootloader.rb:897:in
`each'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core/bootloader.rb:897:in
`load_classes'
from
/home/chris/src/ruby/raider/gems/gems/merb-slices-1.0.12/lib/merb-slices.rb:50:in
`load_classes'
from
/home/chris/src/ruby/raider/gems/gems/merb-slices-1.0.12/lib/merb-slices/module_mixin.rb:83:in
`load_slice'
from
/home/chris/src/ruby/raider/gems/gems/merb-slices-1.0.12/lib/merb-slices.rb:29:in
`run'
from
/home/chris/src/ruby/raider/gems/gems/merb-slices-1.0.12/lib/merb-slices/module.rb:260:in
`call'
from
/home/chris/src/ruby/raider/gems/gems/merb-slices-1.0.12/lib/merb-slices/module.rb:260:in
`each_slice'
from
/home/chris/src/ruby/raider/gems/gems/merb-slices-1.0.12/lib/merb-slices/module.rb:258:in
`each'
from
/home/chris/src/ruby/raider/gems/gems/merb-slices-1.0.12/lib/merb-slices/module.rb:258:in
`each_slice'
from
/home/chris/src/ruby/raider/gems/gems/merb-slices-1.0.12/lib/merb-slices.rb:29:in
`run'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core/bootloader.rb:99:in
`run'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core/server.rb:172:in
`bootup'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core/server.rb:42:in
`start'
from
/home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/lib/merb-core.rb:170:in
`start'
from /home/chris/src/ruby/raider/gems/gems/merb-core-1.0.12/bin/merb:11
from bin/merb:31:in `load'
from bin/merb:31
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---