Hmm, this is usually handled by this within the rackup file: use Merb::Rack::Static, Merb.dir_for(:public)
I just tried generating a new app using merb-gen app and ran it using the thin adapter on 1.9.1 and it seems to show the images and stylesheets ok. Can you try this project out and see if it works for you: http://idisk.me.com/jcnetdev/Public/teststatic.zip just unzip, run "gem bundle", then merb -a thin to start Let me know if theres something else going wrong. Also might want to try to the latest merb code from http://github.com/wycats/merb (git clone, then rake install to install the gems) On Oct 17, 2009, at 1:19 AM, ojak wrote: > > I just booted a fresh Merb app (Ruby 1.9.1, Merb 1.1, Datamapper > 0.10.2, Rack 1.0.0, Thin 1.2.4) and I am getting the following error: > > Controller class not found for controller `images' - > (Merb::ControllerExceptions::NotFound) > > Rack does not appear to be serving the static files (image, > stylesheets, etc). Any help? > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
