Displaying 20 results from an estimated 2000 matches similar to: "Merb in production with God/Monit"
2008 Jan 03
3
Whats the merb equivilant of this?
Hey All
Quick question, what''s the merb equivalent of this:
ActionView::Base.new([template_root], assigns, self)
in merb? Ive found
Merb::Template::Erubis.transform(:file => ''/path/to/file'')
But I''ve no idea if thats the correct thing to be calling? It doesn''t
''feel'' right, so im not sure it is?
Thanks
Tim
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 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
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 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 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
2007 Jun 24
0
merb and monit
greetings,
anyone know why the below will not start merb via monit?
start program = "/usr/bin/merb -u nobody -G nogroup -e production -d -
m /var/www/manwith/"
it works fine from the command line, but not from monit. path
problem, or env problem maybe?
thanks
jw
2008 Jan 03
23
deployment survey
Hello Mongrels,
Building on the last messages about Fastthread, can we get a detailed
survey of the different ways people are deploying their applications?
It will help with near-future Mongrel development.
Please include the following things:
* Framework, if any (Camping, Merb, Rails, Nitro, Ramaze, IOWA, Rack...)
* Mongrel version
* Mongrel handlers used (rails, dirhandler, camping,
2007 Aug 28
1
what''s the view format in trunk?
dumb question but what''s the view format in trunk?
I have a simple router:
Merb::Router.prepare do |r|
# default route, usually you don''t want to change this
r.default_routes
# change this for your home page to be avaiable at /
r.add ''/'', :controller => ''upload'', :action =>''new''
end
I have a simple controller
2011 Mar 19
2
httpd cannot serve web page on port 2812 (for Monit)
Might there be anything CentOS related on why I cannot access the
Monit GUI system on http://box-running-monit.com:2812 ?
I am using a very basic /etc/monit.conf config, but I cannot get it
serve the web page on my box
The service start and stops fine (e.g. "/etc/init.d/monit start"), and
I have it set to listen to port 2812 in the "/etc/monit.conf file" (so
far, kept the
2008 Sep 21
3
Monit; BackgroundRB; environment variables
I started emailing monit mailing list because I started getting this
problem where I couldn''t start backgroundrb with monit anymore,
thinking it was a monit problem. However, I back tracked a bit since
I had added code to my project, and monit was able to start
backgroundrb again.
I seem to have zeroed in on the problem. I''m not sure where the
problem lies - maybe monit or
2007 Aug 26
1
monit not executing start/stop/restart mongrels
Alright, I have googles and read through the docs on monit
I get this error when adding -v starting monit
monit: Cannot connect to the monit daemon. Did you start it with http support?
monit: Cannot connect to the monit daemon. Did you start it with http support?
Am I missing something here?
set daemon 120
set logfile syslog facility log_daemon
set mailserver localhost
set httpd port 28212
2010 Jun 11
2
Service monitoring/"Monit"?
Has anybody here tried the "Monit" utility (http://mmonit.com/monit/)? I
need to set up some kind of "watchdog" functionality for a custom
service otherwise started via init (i.e. via a script in /etc/init.d +
rc*.d links managed by chkconfig) and it seems like this system may give
me nearly what I want. However, something that concerns me about it, is
that it appears to
2007 Jun 24
1
Lost MySQL
geetings,
after my MERB app was up for about 48 hours I started to get
Mysql::Error: MySQL server has gone away
mysql hadn''t gone away, it is still running as the same process as
when merb started. any advice on having ActiveRecord reconnect if
this happens?
thanks
- jw
2006 Nov 05
2
logrotate, mongrel cluster and monit
While I could figure this out, I''m asking here first to see if anyone
has already dealt with/created this. I''m running a mongrel cluster,
running 4 mongrels on ports 8001-4. I''m using capistrano to deploy.
And I''d like to use monit to check to make sure everything is running
nice.
I''d like to have monit restart only single mongrels if they fail, and
2008 Jan 09
9
mongrel, monit, and the many, many messages
Monit 4.9, Mongrel 1.0.1, Rails 1.2.6, Mac OS X 10.4.11 (PPC)
I don''t know whether this is a mongrel issue or a monit issue.
I''m trying to poke my way around a system set up by someone else. I have
no more experience w/ mongrel that local Rails dev at this point, and a
conceptual understanding of how monit is working. I have the Deploying
Rails beta book, and I''m
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)
2012 Jun 27
3
Unicorn workers under Monit
Hi there,
I would like to config Monit to monitor our production-unicorn-workers
What memory size would you recommend to be the maximum reachable for a worker? so Monit can restart it.
Thanks a lot !
Manuel Palenciano
2007 Nov 07
8
mongrel - monit issue
Hi,
was wondering if anyone else had a similar problem and knows why or a solution.
basically my mongrels seems to work fine. i am running three clusters all which are monitored by monit. monit has the ability to restart a mongrel if it doesn''t pass a port connection test. so the problem is that after some time. aprox. 6hrs. to 20hrs. after clusters are started, the mongrels get
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