Displaying 20 results from an estimated 10000 matches similar to: "Merb exception stack"
2007 Dec 07
9
Merb-style development exception pages for Mac OS X
I like the merb-style exception pages where there''re links to open the
files listed in the stack trace in TextMate and the source around each
line a lot so I stole the idea (and the code!) and made a patch for
Rails: http://dev.rubyonrails.org/ticket/10401
Here''s how it looks like in Merb: http://yehudakatz.com/wp-content/uploads/stacktrace.gif
What do you guys think?
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
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
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 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
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 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
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
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
2008 Feb 07
2
Catching non-Merb::ControllerExceptions Exceptions
Is there an agreed upon method for handling exceptions thrown by
something outside of Merb? For example, DataMapper now throws a
DataMapper::ObjectNotFoundError when a record isn''t found in the db.
I''d like to catch these exceptions and raise a C:E:NotFound exception
instead, but without having to wrap a lot of code in begin/rescue/end
blocks.
Thanks,
Mike Irwin
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
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 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:
2007 Aug 13
0
Problems running merb from trunk
I have no problems loading any static requests, but any that are
routed to a controller blow up. I''m getting a ''Bad controller'' error.
The reason I''m a bit flummoxed is because the stack trace makes no
sense.
It terminates on this line:
resolve_controller 68 /opt/local/lib/ruby/gems/1.8/gems/merb-0.3.7/
lib/merb/merb_dispatcher.rb
As you can see,
2007 Mar 09
0
Merb + attachment_fu
Merbists,
I saw a note in the attachment_fu source code regarding supporting Merb[1]
as well as a post on the Caboose forum[2].
Has anyone gotten Merb working with Rick Olson''s attachment_fu to handle
uploads for a Rails app?
I''ve hacked together something, but it''s not pretty. Besides fixing the TODO
mentioned in the attachment_fu source code to support Merb
2007 Aug 09
0
File upload issue with Merb 0.3
Hello,
I have written a Java applet that uses Merb to process file uploads.
This works perfectly on Merb 0.1.0.
When I upgraded to 0.3.7, all seems to work well, but I then started to see
problems - when people uploaded certain files, the ruby process would spin
out and start using lots of CPU, never coming back to life. Other files
work just fine.
The problem is almost certainly in my Java
2006 Dec 26
0
[PATCH] Fastthread 0.5.3.1 with merb edge (124)
I checked out the latest merb ''trunk'' and after installing it as a gem...
(fresh install)
I got the dreaded "fastthread not loaded: fastthread must be required before
thread" error when starting up an instance of merb. Even without dRB.
So I patched the merb.rb file to include fastthread before anything else if
it''s installed.
Check it.
Merry Christmas!
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