i have a rails application on production which is running using mongrel, I can successfully start the mogrel for the application but when i try to access the application on the URL it is not responding... it is just hanging.
This is the mongrel log... but when I hit xxx.xxx.xxx.xx:3001 it is not showing the website but on developent is ...
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 "C:\app_dir\\rails\rails_apps\service-1" -p 19000 -e production
Apprently under the hoods "sc create..." is...
I'm brand new at Ruby. Trying to set up the first application/project using Aptana Studio.
Here are my ruby and gem versions
c:\>ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
c:\>gem -v
1.3.6
I am seeing this error below while starting my ruby application. I'm developing on Vista (sucks, I know but am working on ...
One thing I really don't understand is how I can pass custom start-up options to a mongrel instance.
I see that a common approach is the use environment variables, but in my environment this is not going to work because my rails application serves many different clients. Much code is shared between clients, but there are also many diffe...
I'm a newb to RoR. I'm using the book "Agile Web Development with Rails" to get started on Windows 7.
In the command window, I run the following.
>rails demo
>cd demo
>ruby script/server
At this point, it boots the Mongrel server:
=> Booting Mongrel
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
=> Call with -d to detach...
I have the Ruby on Rails-based application Redmine (based on the BitNami redmine package) running on a Windows virtual server. It runs Apache, Mongrel, Ruby, and rails.
When, in a HTML page I am building a template for, I request a static image resource named /templates/mytemplate/images/bkg.jpg - around 15 kilobytes big - I get a 502 B...
Hi there
I'm fairly new to Rails and the Mac, and doing my first deploy...
I'm trying to set up my rails app on a brand new Apple mini-server running OXS1.6 (Snow Leopard). It is currently running fine on my new iMac i7 (same OS).
I start mongrel with this command:
mongrel_rails start -e production -p 3000 -d -a 127.0.0.1 --debug
A...
I'm implementing a small HTTP server with Ruby using Mongrel. My code currently looks like this:
require 'mongrel.rb'
class SimpleHandler < Mongrel::HttpHandler
def process(request, response)
puts request.body # outputs #<StringIO:0xb7656e74>
response.start(200) do |head,out|
head["Content-Type"] = "application/ocsp-re...
I've recently started looking at Merb, for use with some small projects around the office. I'm trying to set up my first project following the docs, and am encountering an exception such as:
foo:beta user$ merb
Merb root at: /Users/user/code/merb/beta
Loading init file from ./config/init.rb
Loading ./config/environments/development.rb
...
this is from the development log...
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:27:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
/usr/lib/ruby/g...
I am working off the Final Cut Server Integration sample provided by Apple that is a Rails app using 2.0.2 and runs on Mongrel 1.1.5. I can have a basic non-Ruby directory on my boot volume (Mac OS 10.6.3 Server) and can serve up video files just fine to iPad. However, when I drag the same video file into the 'public' area of the app run...
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 installed gem_plugin-0.2.3
Successfully installed cgi_multipart_eof_fix-2.5.0
Successful...
Hi,
As Rails applications default run on port 3000, would it be possible to start the application on port 80? Is it really required to have a fastcgi/mod_proxy enabled web server in front? My users won't be more than three at a time. If so, how would I be able to do so?
Thanks!
...
I've got a non-RoR but ruby webapp in the works.
So far, I've just been using requests, hacks, and mod_ruby; but I'd really like to try out Mongrel--which seems to work really well for RoR sites.
I looked at the examples given in GitHub, and none of them does dynamic changing of content w/o having to restart Mongrel like you can do in ...
RoR allows you to, as long as the env is development, change parts of the your application code and then just refresh the browser--and everything is changed, without having to restart Mongrel.
How does this work, and where in the Rails codebase is this done?
(Or, alternatively, is there some easy way to do this with Rack+Mongrel?)
Tha...
I have deployed my rails app to a live server(linux) and I have successfully installed the the mongrel gems, and I can successfully start the server for my app but when i try to acceess the website on the server i get the error The server at 196.xx.xxx.xx is taking too long to respond.
Is there anything i need to do to be able to access...
When starting the server, I get this strange error after updating to Ruby 1.9:
"
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2008-08-11) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
"
My mongrel version is 1.1.6,...
I'm using rails 2.3.2 and when I run script/server -d, the only output I get is
=> Booting Mongrel
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
which is fine. But when I check for anything running on port 3000, i get nothing. Any ideas?
...
I use Redmine on Mongrel as a project manager and I use a batch file (start-redmine.bat) to start the redmine in mongrel.
There are 2 issues with my setup:
1. I have a running IIS on the server that occupies the HTTP port (80)
2. The start-redmine.bat must be periodically checked to see if it's stopped after a restart that is caused by w...
hi, I have a request to load a swf file, flaMovie.swf from rails. The swf file is located the directory /home/user1/railsproj/flash.
I have the code index.rhtml under view directory to show the .swf file,
ID=flaMovie WIDTH=250 HEIGHT=250>
When I ran the code, I got the error,
ActionController::RoutingError (No r...