similar to: Whats the merb equivilant of this?

Displaying 20 results from an estimated 1000 matches similar to: "Whats the merb equivilant of this?"

2007 Mar 12
5
Clarification of how controllers and views work together...
Hi, So I''ve started mucking about with Merb. I''m doing some experimenting with some product ideas. Things are working out quite well, Merb is a pleasure to use. It seems very fast too. A couple of rough spots but that might be me, if they are still chaffing after a few more days I''ll mention them. One thing... I wrote a controller and a view with several
2007 Dec 19
4
Questions on writing plugin for merb
Hey all, I am looking to write a plugin for merb and have a few queries about how to best go about it. I have a few questions (sorry if some are very merb newbie ones): - It seems all the plugins are gems; I can just add dependencies (my plugin will require soap4r) as per any usual gem spec? - If I want my plugin to add some new generate functionality? Is this possible? If so, are there
2007 Nov 06
2
what did I do?
I''m following merb trunk. This morning I updated my gems, sync''d merb source and installed the merb gem from source. I don''t know if I did something wrong, or if a new gem messed things up, or if there was a merb change which broke something. Now I get this error: Request: REQUEST_URI: / (2007-11-05 20:27:04) Params: {"action"=>"index",
2008 Mar 13
4
Merb in production with God/Monit
Hey All, I just wanted to get other peoples take on problems when running merb in production? Just as Rails used to do, the mongrels tend to get heavy/unresponsive over time so need a good kicking by a watcher daemon like god or monit. However, I have had serious problems getting God to restart the process, as the "merb -k <port>" command doesnt appear to work reliably
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 Aug 04
2
How do you run an app on "edge merb"?
I didn''t quite see a direct answer to Matt''s question regarding running merb from SVN: http://rubyforge.org/pipermail/merb-devel/2007-July/000132.html In a merb application, is there something comparable to having rails in the vendor/ folder of a rails app? Thanks, Duane Johnson (canadaduane)
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
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 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 Sep 21
3
merb 0.4.0 - redirect problems
I had redirects working just the other day... before I upgraded to the latest release. Can somebody please chime in as to why this simple redirect is throwing an error? Controller: ----------------------- def do redirect "http://www.ebay.com" end Error Output: ------------------------- Internal server error 500 uninitialized constant Merb::ControllerMixin::MovedTemporarily in
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 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
2008 Mar 13
1
Merb Projects and Autotest
Hi! I''m rather new to Merb, but I thought I''d give it a shot. I found that autotest wasn''t running my specs when my models were changing. Maybe this is because of how I have set up Merb, but in the even that it''s not just me, I''ve adapted Autotest''s mappings for Rails and have attached my efforts to this email. Unfortunately, you need to
2007 Oct 31
3
Mongrel breaking Merb?
Has anyone had troubles from Mongrel > 1.0.1? Just curious, because the last time I tried to run Merb it gave me some Mongrel error about the wrong number of arguments, or something like that. I can post the exact message tonight when I get home. -- Cheers, Kevin Williams http://kevwil.com/ http://www.almostserio.us/ http://kevwil.jaiku.com/
2007 Sep 04
1
Couple of questions for Merb 0.4
All, I have just updated to the latest release of merb 0.4 and I am wondering how I can get my controller changes to reload without bouncing the server ? I am running in dev mode but my changes to my merb controller don''t seem to get picked up on new requests. Also say I have a controller that needs to render an alternate xml format ie something like:
2006 Dec 04
2
Merb on Win32 Platform
I''m trying to get Merb running on Windows XP SP2 and am experiencing some difficulties. I load http://localhost:4000/posts/new in my browser expecting to see the contents of new.herb rendered. However the following error is reported: Request: PATH_INFO: /posts/new Params: {"action"=>"new", "id"=>nil, "controller"=>"posts"}
2007 May 31
4
Sample Merb App
I put together a sample app to help people learn Merb: http://svn.depixelate.com/applications/invoice_tracker/ I also blogged about it here: http://depixelate.com/2007/5/31/taking-merb-for-a-spin -- Zack Chandler http://depixelate.com
2006 Dec 23
1
Generating a merb app skeleton...
I have just started playing with merb. I think this framework has great potential so ATTA BOYS are in order !! Perhaps I missed something in the readme file, but how do I generate a default app in merb. I was looking for something like the cmd below to generate the app hierarchy ?? > merb myapp -Fernand -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Nov 26
1
Loading a specific version of MERB gem
greetings, i have a project based around merb 0.3.7 and I do not want to fiddle with it one bit. and now I want to start a new project running 0.4.2(and beyond). what is the recommend method of starting merb from a specific gem version? thanks - jw
2009 Jun 15
6
Spork and Merb and rSpec
Andy Shipman wrote: > When running spork on a merb application, whenever a spec is run I get > the following error from the Spork server. > > /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/bootloader.rb:1358: > [BUG] rb_gc_mark(): unknown data type 0x3c(0x2203d0) non object > ruby 1.8.7 (2009-06-08 patchlevel 173) [i686-darwin9] > > Which crashes the