similar to: constants_rewrite branch, Merb.root and Dir.pwd?

Displaying 20 results from an estimated 2000 matches similar to: "constants_rewrite branch, Merb.root and Dir.pwd?"

2008 Mar 16
0
Merb Init Problems
Hi All, I''ve come across the following problem with merb 0.5.3 (ruby 1.8.6 / Mac OS X Leopard). Basically, when I type ''merb'' or ''merb -i'' from within the app''s root, It starts, compiles the routes and then exits. Any ideas??? This is a brand spanking new merb app: josh at JDS-MacBook:~/Projects/schmerb$ merb Merb started with these
2007 Oct 24
1
Status of Merb on JRuby
I''ve submitted a few patches on Trac to help get Merb running under JRuby [0][1][2][3][4]. It''d be cool if any of you committers could find the time to look them over and apply/reject them. They''re mostly tiny, so it shouldn''t be too onerous. With all of these patches applied, there are still 3 spec failures. One is in the spec ''a merb mailer
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 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 Feb 15
1
wrong startup information in production environment
Hi, I check out the last codes from merb repository. And the startup information for production environment just like that: ====================================================== dev:/var/www/apps/upload_merb/current/log# /etc/init.d/merb_init start Merb started with these options: --- :template_ext: :html: :herb :js: :jerb :xml: :xerb :config: dist/conf/upload.conf :drb_server_port:
2007 Dec 13
1
Merb::RenderMixin#set_status refers to non-existent RESPONSE_CODES constant
#set_status http://merb.devjavu.com/browser/trunk/lib/merb/mixins/render.rb#L270 refers to a non-existent constant. I tried, while creating #359, to make things OK, but I failed. I started by using STATUS_CODES instead, then used #[] instead of calling a method named STATUS_CODES, then I found out that during the call to #inherited
2007 Mar 28
0
[recipe] How to get on Merb Edge
Hello, My name is Olle, and I am new here. I''d like to add some detail to Ez''s explanation in a previous email [1]. These are the steps I took to get Merb running Merb Edge (is that what you call it?). Start in the merb-root not in the dist-root. # Create dist/framework, plus script/merb stub rake merb:freeze cd dist rm -rf framework # Replace dist/framework with trunk
2006 Oct 17
4
Merb, Mongrel+Erb
Hey there folks- I''m happy to announce the first useable release of my new pocket- framework Merb. Merb is a mongrel handler with built in controller and view templating with erb. It has a nice routing system similar to rails but much simpler. It uses some of the code from the camping handler and the rails handler and then some of its own secret sauce to form imho a nice fast
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,
2008 Jan 02
1
Deploying merb as a windows service
Hey All I was just wondering if anyone had tried deploying merb as a windows service? I am familiar with the sc.exe tool ( http://support.microsoft.com/kb/251192 ) - do you think adding the correct paths and such to the merb bin will work? I am going to try this tomorrow but wondered what peoples thoughts were? Many thanks Tim
2007 Nov 08
1
Back to ruby2ruby?
Hello guys. I missed a lot of the development before 0.4 got out (btw, excellent work!). I checkout last night the merb-trunk code and run the specs, found that everything passes with 1 pending, but no errors or failures about missing ruby2ruby. There is a ticket (#274)[1] that discuss this, but I remember we discussed this back in September about depending on RubyInline... Also, the merb gem
2007 Dec 13
2
Trying to use ActiveRecord STI but fails
Hi all, I''m wondering about my sanity here. There''s probably something simple I overlooked. First off, I have close to zero experience with Merb. 1. I configured use_orm :activerecord in config/dependencies.rb; 2. I have a file named app/models/measurement.rb which looks like this: class Measurement < Observation end 3. I have another file named
2007 May 14
7
Help a newb with 0.3.1
Hi, first off thanks Ezra for Merb - it''s certainly interesting and I''m keen to have a play. However, I''m having difficulties in getting started. I''ve followed the docs for setting up mrblog and everything seems to be installed correctly, and merb appears to start fine: $ merb you must install the markaby gem to use .mab templates you must install the
2008 Mar 10
0
Vancouver.rb Q&A with Brock Whitten on Rails, Getting Off Rails (Merb), PmpknPi (Blog in Merb) and More (Part I)
Hello, I''ve published a Q&A in the Vancouver.rb series with Brock Whitten. Questions include: * How did you get started with Ruby on Rails? What makes Ruby on Rails a great choice for developing web applications/sites? * Can you tell us some challenges you''ve faced developing using Ruby on Rails? * Off the Rails - Can you tell us a little bit about Merb? How
2007 Dec 19
3
Trapping custom exceptions in merb 0.5.0
Hi, I have the following setup: class Fred < Application class InvalidKey < Merb::ControllerExceptions::Unauthorized; end def blee raise InvalidKey unless key end end I have added a view exception template in views/exceptions/invalid_key.html.erb but I am not seeing the exception page being rendered ?? The request seems to correctly go to
2007 Sep 11
0
Merb & Monit
greetings, i have been trying to get merb and monit to play well. but monit won''t restart merb. neither will monit stop merb if it is still running but not responding. below is the monit config for the merb app. anyone know what i am doing wrong or have good strategies for using monit and merb? thank you - john weir check process manwith-4000 with pidfile
2009 Jan 20
6
[Cucumber, Merb, Webrat] undefined method ''response'' for Merb::Test::World::Webrat
Hello! I get the following error everytime I try to check the result of previous step (by the way, I use default result_steps.rb): undefined local variable or method `response'' for #<Merb::Test::World::Webrat:0x7f083c7860b8> (NameError) ./features/steps/result_steps.rb:14:in ` /^the (.*) ?request should fail/'' features/authentication/login.feature:17:in `/^the (.*)
2007 Nov 07
1
merb/sequel mutex on or off? proxy_balancer or no?
Just a quick question to those of you using merb and sequel or datamapper. How do you setup your merb app? For example: merb -X off -c 5, then run mod_proxy_balancer or nginx to load balance between the 5 (or whatever #) of merb nodes? merb -X off -d, then simply use something like proxypass merb -c 5, keep the mutex lock and cluster it haproxy, swiftiply, evented mongrel...... What
2007 Jul 31
2
Deploying with Merb
After a half day''s work I''ve created a Merb app to handle file uploads for a Rails app. In my dev environment, I changed the views in the Rails app to point to Merb on port 4000. But now I''m stuck trying to figure out how to deploy my new Merb app on a production server. Looks like originally this was handled with a rewrite rule
2007 Nov 07
2
merb 0.4.0 session issue
Not sure if anyone else has had this problem. I was running on merb edge fine a few days ago. Last night I went to merb 0.4.0 via gem install and now any call to session[:foo] causes an error >> undefined method ''[]'' for nil:NilClass I have uninstalled and reinstalled merb with no luck. dependencies.rb use_orm :activerecord merb.yml :session_store: active_record Gems