Displaying 20 results from an estimated 11000 matches similar to: "Running merb app via fcgi"
2007 Jul 29
2
fcgi?
Hi,
I''ve been looking for a light weight alternative to rails for a few
small projects, and just came across merb, which looks perfect. The
only issue is that merb seems to be tied to mongrel, and I have to
deploy to our internal infrastructure which uses FastCGI.
How difficult would it be for me to modify merb to support a fcgi
interface (actually a rack interface - rack is
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 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)
2006 Apr 22
0
Another apache + fcgi problem...
Hi!
I know very little about apache, so we use whm/cpanel for administrating
server/users/domains etc.
All rails pages work well (but slowly) on cgi. I asked our administrator
to install fcgi and he said it''s done and that i should just change in
.htaccess file ''dispatch.cgi'' to ''dispatch.fcgi'' and it should work. But
it doesn''t. I get
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
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
2008 Jan 05
5
multi-app merb
Ezra,
I love merb, especially because it''s keeping the things that Rails does
well and improves on things that Rails hasn''t done so well.
One of my biggest pain points with Rails has become multi-app
integration. A lot of web sites consist of multiple apps (e.g. a core
site, a forum, a blog/cms, etc.). Doing this sort of thing is very ugly
and inefficient with the current
2005 Aug 10
6
Hieraki + FCGI + Problem
Hi,
I''ve downloaded the latest stabil Hieraki. I have ruby 1.8.2 (2004-12-25)
[i686-linux], the latest rails (and gems, too), Apache/1.3.33 (Unix) and
mod_fastcgi/mod_fastcgi-SNAP-0404142202. I''m successfully running Typo
(from SVN) as a FastCGI application.
Hieraki works well with "script/server", and works well as a .cgi (just
very slow). My problem is, that
2006 Mar 14
5
Dreamhost and fcgi....help!
I''ve got my app running under cgi, but I keep getting pwned by fcgi.
- app is installed at www.mydomain.com
- web root is www.mydomain.com/public (this works w/ regular cgi)
- /public has correct permissions
- .htaccess: rewrite rule changed to use .fcgi
- shebang on dispatch.fcgi and dispatch.rb is set to #!/usr/bin/ruby1.8
(also tried just ruby)
-environment.rb : running in prod
Any
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
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
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 Jul 23
3
Premature end of script headers: dispatch.fcgi
Hey people,
I''m working on this issue for more than 4 hours now and I have no idea
what''s wrong so I ask you kindly to have a look at my stuff.
When I try to access my website I get this error:
Application error
Rails application failed to start properly
error.log says:
[Wed Jul 23 17:51:22 2008] [error] Premature end of script headers:
dispatch.fcgi
I tried to run
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,