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
5
votes
4 answers

Error using mongrel 1.2.0.pre2 in rails 3 app on heroku

I am doing authentication from google and was getting request too long error so upon some research I added the mongrel gem. This fixed the request too long error on my local machine. However, now when I push to heroku, I constantly get the error…
Omnipresent
  • 29,434
  • 47
  • 142
  • 186
5
votes
1 answer

Advantages of using Passenger + Apache over Webrick

I want to convince my management that using Apache + passenger setup is way to go on production rather than having webrick or mongrel I have found some points from the net. It would be great help if you could add your thoughts as that will…
sameera207
  • 16,547
  • 19
  • 87
  • 152
5
votes
1 answer

How to create a windows service with Rails 3 and Ruby 1.9.2?

How to create a windows service with Rails 3 and Ruby 1.9.2 using Mongrel?
Douglas Lise
  • 1,466
  • 1
  • 20
  • 46
5
votes
1 answer

Error starting mongrel on windows after using RubyInstaller 1.9.1 RC2

I installed Ruby via the RubyInstaller 1.9.1 RC2 available from rubyforge, updated gems, and installed rails. Everything worked fine using webrick. For fun, I installed mongrel using "gem install mongrel". The installation went fine: Successfully…
ericvg
  • 3,907
  • 1
  • 30
  • 35
5
votes
2 answers

Using a Regex in the URI of a Mongrel Handler

I'm currently using Mongrel to develop a custom web application project. I would like Mongrel to use a defined Http Handler based on a regular expression. For example, everytime someone calls a url like http://test/bla1.js or http://test/bla2.js the…
Benjamin
  • 617
  • 13
  • 27
5
votes
5 answers

Capistrano not restarting Mongrel clusters properly

I have a cluster of three mongrels running under nginx, and I deploy the app using Capistrano 2.4.3. When I "cap deploy" when there is a running system, the behavior is: The app is deployed. The code is successfully updated. In the cap deploy…
Pete
  • 1,517
  • 11
  • 19
5
votes
3 answers

Should I user Apache or Nginx & Passenger or Mongrel for my Rails application

I have a Ruby on Rails application that will be a CMS in way which means it's mostly DB intensive. I expect it to have decent amount of traffic so before designing I'm choosing what servers to use. Most important for me is performance. I heard good…
Tam
  • 11,872
  • 19
  • 69
  • 119
4
votes
4 answers

How to view debug code in Thin console window?

In Mongrel, we are able to see any ruby debug code. After installing thin and doing thin start. I don't see any debug code on the console window. Is this nromal? Are we supposed to use tail -f log/development.log in a new console window to view the…
Christian Fazzini
  • 19,613
  • 21
  • 110
  • 215
4
votes
1 answer

Making Mongrel/WEBRick serve static assets with future expires header

I'm creating a Rails application which will be deployed to desktop machines, running both the webserver and the browser (it's a test-taking application which needs to be able to run without an internet connection). For this reason, I'll be running…
Alexander Malfait
  • 2,691
  • 1
  • 23
  • 23
4
votes
8 answers

Rails 2.x mongrel won't start after upgrading to rails 3. -- mongrel_rails (MissingSourceFile)

After upgrading my Rails install to Rails 3 on OS X, I’ve had problems running my Rails 2.x development sites with Mongrel. WEBrick seems to work, but I really would like to have the nice output of Mongrel for debugging. After running $…
Techism
  • 534
  • 3
  • 11
4
votes
2 answers

Ruby Rails Mongrel Server ODBC connection reset

I am currently running ruby on rails (ruby 1.8.7, rails 2.3.8) on a windows 2008 server in IIS7. I am using mongrel rails to run the instances and then adding the instances to a server farm in IIS7 to be used. When the application is running and…
4
votes
2 answers

What is the maximum file size upload limit in Internet Explorer?

In my Rails application I am able to upload only up to 1.5GB when using Internet Explorer, but when I use Chrome I am able to upload 10GB without a problem. Why is this? I am running Mongrel as my web server.
Amit Singh Tomar
  • 8,380
  • 27
  • 120
  • 199
4
votes
2 answers

Deploying Rails 4 in production on windows apache MySQL

We have deployed Rails 4.1.0 / Ruby 2.1.6 on a windows 12 server in development mode with MySQL, using the WeBrick web server. We are now looking to deploy the application to production environment with rails 4.1.0, ruby 2.1.6, windows 12 server,…
4
votes
6 answers

How do I gracefully shut down a Mongrel web server

My RubyOnRails app is set up with the usual pack of mongrels behind Apache configuration. We've noticed that our Mongrel web server memory usage can grow quite large on certain operations and we'd really like to be able to dynamically do a graceful…
AndrewR
  • 10,759
  • 10
  • 45
  • 56
4
votes
2 answers

Installing mongrel service on Windows 2008

We use InstallAnywhere to install our product. One of the components that it needs to install is mongrel. IA invokes the following command line during installation: mongrel_rails service::install -N service-1 -D "Service 1" -c…
akirekadu
  • 2,244
  • 3
  • 24
  • 31
1 2
3
17 18