Questions tagged [mongrel]

Mongrel is an open-source HTTP library and web server written in Ruby.

It is used to run Ruby web applications and presents a standard HTTP interface. This makes layering other servers in front of it possible using a web proxy, a load balancer, or a combination of both, instead of having to use more conventional methods employed to run scripts such as FastCGI or SCGI to communicate.

265 questions
0
votes
2 answers

Preventing Mongrel/Mysql Errno::EPIPE exceptions

I have a rails app that I have serving up XML on an infrequent basis. This is being run with mongrel and mysql. I've found that if I don't exercise the app for longer than a few hours it goes dead and starts throwing Errno::EPIPE errors. It seems…
Mike Berrow
  • 2,546
  • 1
  • 20
  • 16
0
votes
1 answer

Error "uninitialized constant ActionController::CgiRequest>" when running Mongrel

I am running a ruby application (Redmine) with Mongrel. It can start successfully, however, once it gets an HTTP request, it hits below error: ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered.…
Hardbone
  • 327
  • 1
  • 3
  • 16
0
votes
1 answer

mongrel_rails cluster::start does not work, looks for daemons/daemonize

I'm having a mongrel_cluster.yml file with the below content: cat mongrel_cluster.yml --- port: "8000" servers: 2 pid_file: tmp/pids/mongrel.pid log_file: log/mongrel.log cwd: /home/directory When i try to start mongrel_rails cluster::start it…
user1455116
  • 2,034
  • 4
  • 24
  • 48
0
votes
3 answers

Starting and Stopping Another Process when Mongrel Rails starts

I would like to start another process when mongrel rails starts up. Is there a way to do this? I am looking to start lighttpd which acts as a media server on my project every time rails starts and stop it every time rails stops.
user137848
0
votes
1 answer

Can't get value params[:user] first request using mongrel_rails start?

I get nil from params[:user] in create action of my controller for the first request when I start my mongrel server by using mongrel_rails start. After that for second and third time are ok. In addition, if I start my Mongrel by using script/server,…
Samnang
  • 5,536
  • 6
  • 35
  • 47
0
votes
3 answers

How to run rails website permanently on Mac OS X

i've developed small web app for personal use with Ruby on Rails. Now when i want to use it I open Terminal and run ruby script/server to run mongrel then i go to Safari and type localhost:3000 to see my app. I'd like to have this site start…
Michal
  • 961
  • 1
  • 12
  • 19
0
votes
1 answer

Rails 3.2.3 , Mongrel on WIndows Server 2003 R2 SP2, send_file

I have a Rails 3.2.3 app (ruby 1.9.3p125) deployed on a Windows 2003 R2 SP2 server, (don't ask). This is my Gemfile: gem 'mysql2' gem 'tiny_tds' gem 'activerecord-sqlserver-adapter' gem 'pdf-toolkit', "~> 1.0.0.rc1" gem 'mongrel', '>=…
RadBrad
  • 7,234
  • 2
  • 24
  • 17
0
votes
2 answers

Why do I get errors migrating a Ruby site to a new server?

I am trying to migrate a Ruby server to a new one. I see in its mongrel.log file the errors: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require: no such file to load -- yahoo-weather (MissingSourceFile) from…
George B
  • 1
  • 4
0
votes
1 answer

Rails 3 - Windows + Mongrel (Error with dispatcher)

I am trying to deploy a rails 3 app to a windows machine (yes it has to be windows, I cannot use linux) I decided to try and use Mongrel + Apache (willing to try other setups if anyone knows one that works). I have mongrel installed and I can run…
Random Developer
  • 175
  • 5
  • 17
-1
votes
1 answer

rails 2.3 server running inside vagrant environment not accessible in host machine mac os x browsers

in vagrant I am using: box 'prorail/centos-5.8-x86_64' in vagrant i am running rails 2.3 server like: [vagrant@localhost myapp]$ script/server => Booting Mongrel => Rails 2.3.5 application starting on http://0.0.0.0:3000 => Call with -d to detach =>…
Bilal Basharat
  • 3,066
  • 6
  • 21
  • 20
1 2 3
17
18