search for: dist_root

Displaying 5 results from an estimated 5 matches for "dist_root".

2007 May 14
7
Help a newb with 0.3.1
...alled correctly, and merb appears to start fine: $ merb you must install the markaby gem to use .mab templates you must install the haml gem to use .haml templates ActiveRecord session mixed in Rails session compatibilty on. Compiling routes.. merb init called Merb started with these options: --- :dist_root: /path/to/merb/mrblog/dist :allow_reloading: true :environment: development :merb_root: /path/to/merb/mrblog :cache_templates: true :use_mutex: true :config: dist/conf/mup.conf :host: 127.0.0.1 :show_error: true :port: "4000" :sql_session: true However any request to 127.0.0.1:4000 retu...
2007 Mar 13
2
running merb locally
Stupid question, but is there a way to run merb locally, without installing it as a gem? I don''t mean freezing it into a merb app, but checking out merb and being able to run it without installing the gem first. The reason I ask is that I''m working on some debugging stuff and it''d be helpful to be able to modify the source code, run it, modify, run, and so on. (And yes,
2007 Mar 08
6
Transfer-encoding: gzip
Hello! What is the simplest way to make merb respond to the client sending Accept-Encoding: gzip? Just checking if it exists, otherwise I''ll implement it myself. Regards, Magnus
2007 Jun 19
0
Default 500 Error Page in Production
Currently, Merb just shows a string on error: "500 Internal Server Error" I''ve added this to my merb_init.rb: if MERB_ENV == ''production'' module Merb def self.html_exception(e) File.read(DIST_ROOT + "/public/500.html") end end end http://nubyonrails.com/500.html Potentially a plugin could be written to log this to the database. However, I think the default in production should be to render a 500.html error page from the public directory. This allows for much easier customiz...
2007 Aug 29
11
Non-Erubis Templates
Trunk Issue: Because of the use of ''autoload'', template handlers other than Erubis are not loaded automatically (Haml, XMLBuilder). Either this should be fixed, or the documentation should be updated to instruct people how to use non-Erb template engines. Apparently the solution is to do something like this in merb_init.rb: ::Merb::AbstractController.register_engine