search for: merb_root

Displaying 10 results from an estimated 10 matches for "merb_root".

Did you mean: _rb_root
2007 Dec 30
2
Loading config YAML into merb process for the life of the process
Hey Chaps, Forgive me for not fully understanding the inner workings of merb, but I would like to read in a YAML configuration file once when the application is booted rather than reading it every time it is used (as presumably the overhead in doing that is significant?) - I had presumed this is how both Merb and rails do it for there database.yml config files (hence its a requirement
2007 Dec 13
0
constants_rewrite branch, Merb.root and Dir.pwd?
Hello Guys, Doing some svn up and some looking at the code in the repo, found that MERB_ROOT and the replacement Merb.root constant based heavily on Dir.pwd (on trunk: http://merb.devjavu.com/browser/trunk/lib/merb.rb#L89) Dir.pwd present a problem when you try to run something "outside" the root of your app, let say inside app directory it will wrongly assing MERB_ROOT to Dir.p...
2007 May 14
7
Help a newb with 0.3.1
...em 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 returns: Mon May 14 17:55:30 BST 2007: ERROR: undefined method `each'' for #<...
2007 Feb 15
1
wrong startup information in production environment
...rb_init start Merb started with these options: --- :template_ext: :html: :herb :js: :jerb :xml: :xerb :config: dist/conf/upload.conf :drb_server_port: 32323 :sql_session: true :cluster: 2 :cache_templates: false :host: 127.0.0.1 :port: "6000" :allow_reloading: true :start_drb: true :merb_root: /var/www/apps/upload_merb/current :merb_config: /var/www/apps/upload_merb/current/dist/conf/merb.yml :environment: production Starting merb drb server on port: 32323 Starting merb server on port: 6000 Starting merb server on port: 6001 ====================================================== It...
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,
2008 Mar 16
0
Merb Init Problems
...king new merb app: josh at JDS-MacBook:~/Projects/schmerb$ merb Merb started with these options: --- :exception_details: true :host: 0.0.0.0 :mongrel_x_sendfile: true :reloader: true :reloader_time: 0.5 :cache_templates: false :session_secret_key: /USERS/JOSH/PROJECTS/SCHMERB8520 :use_mutex: true :merb_root: /Users/josh/Projects/schmerb :session_id_cookie_only: true :port: "4000" :query_string_whitelist: [] :environment: development /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized constant RELEASE Started merb_init.rb ... Loading Application...
2007 Jan 19
5
Merb Init Script
I''m trying to emulate the mongrel_cluster_ctl but it takes a -c conf_file option... meaning I can run it from anywhere as long as I tell it where the conf file is. Merb doesn''t have that capability does it? (it has an additional/supplemental config like mup.conf etc) Do I have to be under the merb_app root /path/to/merb/app/ to be able to run merb? Let me know. Thanks,
2007 Dec 13
2
Trying to use ActiveRecord STI but fails
..._type end 4. I ran rake freeze_from_svn 5. I start merb using script/merb and stdout/stderr look like this: $ script/merb Merb started with these options: --- :exception_details: true :reloader: true :session_secret_key: .6393 :mongrel_x_sendfile: true :reloader_time: 0.5 :cache_templates: false :merb_root: /home/francois/src/florian-opsdb/trunk/amara :use_mutex: true :host: 127.0.0.1 :session_id_cookie_only: true :environment: development :port: "4000" :query_string_whitelist: [] Started merb_init.rb ... Connecting to database... Thu, 13 Dec 2007 03:22:38 GMT: loading gem ''merb_...
2007 Sep 18
10
Routes
hi all, I want to move some routing tasks out of the router and into the controller. The goal is to make Merb feel less like mod_rewrite and give the user more control at the controller. The new Router is simple: it takes the path_info (not the whole request) then outputs a controller class and some parameters from the path matching. The rest of the routing would be done at the controller level.
2007 Sep 22
9
skeleton and configs
Hi people, just thought I''d mumble out my thoughts on merb''s apps directory structure and config concepts and see what other people are feeling... the app dir: mvc/application is layed out as expected....maybe without the mailer by default (another discussion) the config dir: I really think that it''s confusing to have such a mixture of ways to configure some