Displaying 20 results from an estimated 6000 matches similar to: "Deploying a rails 3.2 app"
2013 Dec 10
6
Email out of Rescue
I''m trying to set up a means to automatically send an email from certain
parts of troubled code, that is, very often, code that might appear in the
Rescue predicate of a begin.....rescue, so as to track down issues remotely.
Surely there must be a gem for such? If not, how might one construct
something like this in code? TIA, RVic
--
You received this message because you are
2012 Oct 24
2
Handling timeouts?
Hi Guys,
Thanks for Unicorn, it makes my world rock. You guy have done a wonderful job and also huge thanks to the predecessors too.
The default timeout on my Rails app is 30 seconds. The app works fine most of the time but there are some parts of the app which are slow and occasionally totter over the 30 sec response time and timeout. Is there a clean way for me to hook into timeouts and notify
2012 Mar 29
25
Unable to deploy to Apache
Hi All,
Can someone please help? I''ve been banging my head against for wall
for 2 months; all of which has been spent trying to set up ROR. So I
actually haven''t written 1 line of code :( Any help would be greatly
appreciated :)
I''m following the 4th edition of "Agile Web Development with Rails".
So, I''m able to deploy the site via WEBrick.
2009 Mar 13
7
rails, passenger, and images
Just switched over to passenger for development and production for my
rails app. Liking it so far.
My problem is my image_links, stylesheet_tag_links, and
javascript_tag_links are all adding "http://localhost:3000 to the
generated links. I got around the stylesheet and js links by not using
the helpers.
I can access my all of my assets directly via http://dating.local/stylesheets/all.css,
2012 Sep 18
3
Nginx + Phusion Passenger 3 problem with "504 Gateway time-out"
Hi,
I have a Rails 3.2 app. There is a specific request that takes a long
time to execute. The context is, the user uploads a pdf, and then we
have some processing through carrierwave + rmagick that generate a
jpeg from the first page of the document. Everything works in dev mode
using both webrick and thin. The problem happens on the prod
environment with Nginx + Passenger.
The request takes a
2011 May 27
7
Rails 3.1.rc1 + gem coffee-script - WEBrick and Unicorn hangs.
Environment:
rvm
ruby 1.9.2-p180
rails 3.1.rc1
Conditions:
gem "coffee-script" # in Gemfile
at least one file with .js.coffee (even empty inside) in app/assets
Result:
WEBrick or Unicorn hangs. Only kill -9 <pid> helps.
P.S. What additional info should I provide?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
2013 Mar 01
7
Why so many worker threads?
Hello!
Can anyone explain why my Unicorn installation (for RoR site) have so
many worker threads?
* screenshot: http://i.stack.imgur.com/U9TFR.png
* unicorn.rb: https://gist.github.com/907th/4995323
Thanks!
2012 Apr 27
14
app error: Socket is not connected (Errno::ENOTCONN)
I''m getting the following errors multiple times per request when using
4.3.0. I do not receive any errors when using 4.2.1. Please CC me on
replies, I''m not subscribed to the mailing list.
16:48:42 web.1 | E, [2012-04-26T16:48:42.733954 #87940] ERROR -- :
app error: Socket is not connected (Errno::ENOTCONN)
16:48:42 web.1 | E, [2012-04-26T16:48:42.734193 #87940] ERROR
2011 Dec 26
1
Learning Ruby on Rails 3.1 - deployment - Error (cs.jpg isn't precompiled)
Hi guys,
I''ve followed the Agile Web Development with Rails book and I''m up to
deployment. I started a Ubuntu 10.1 LTS server on Amazon EC2 for
testing, got Apache 2, mysql, rvm, ruby 1.9.2, rails 3.1 and phusion
passenger up and running as per the book.
When I come to running the actual site, it says "We''re sorry, but
something went wrong."
In
2010 Oct 29
2
stop/start workers "by need"
Hello to everybody.
I making shared hosting for rails and rack applications. For app. server i
userd phusion passenger, but after some issues with that, want to migrate to
unicorn.
Is there any way to make unicorn stop all workers and start them on first
request? It''ll be really great to have this opportunity.
>No subscription is needed to post to the mailing list, let us know
2012 Apr 12
8
Background jobs with #fork
Hi
I''ve migrated from Passenger to Unicorn about a week ago. It''s great.
Great transparency and management, thanks for this great software!
A few of my Rails applications start background jobs using
Kernel#fork. Of course, the ActiveRecord connections are closed and
reopened again in the parent and child processes. The child process
also does its job.
Unfortunately, it seems
2011 Sep 30
3
Multiple rack applications on the same server with unicorn
If I''m running two rails apps on the same server using Unicorn, I have
to run two instances of Unicorn, right?
If so, then here''s a place where passenger might win in terms of
memory use, as the rails code will be loaded into memory twice, right?
I''m still probably going with Unicorn, but just exploring this first.
Thanks,
John
2010 Jun 06
3
running passenger + nginx
hi guys,
Assuming I made some changes to the source code.
My production environment runs on passenger and nginx.
How do I restart passenger and nginx with minimal downtime?
Surely I can''t do a "w" on the terminal because a server will not
always be in zero load.
Would love to hear some recommendations.
PS- I have read on unicorn
2012 Mar 01
3
murdering high-memory workers and auto-scaling
Two ideas, one more controversial than the other.
First: auto-killing bloated workers.?My current app has some memory
leakage that wasn''t really visible on our older passenger setup, since
the auto-scaling meant that bloated workers got killed periodically.
In a perfect world, we''d find and patch all of the leaks, but in the
meantime (and as a safety net) I''d like to get
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a
migration. i created a demo app (the demo_app from michael hartl''s
tutorial) as usual: rails new demo_app, rails generate scaffold User
name:string email:string, and when i do rake db:migrate, this stack appears:
rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment
2009 Jun 10
5
Deploying with Passenger question
Hi,
I followed the instructions for deploying a site with Passenger from
the screencast that is on the Phusion Passenger site and it didn''t
work. I am using Dreamhost to host my site- could the problem be on
their end? Someone suggested that I do:
passenger-install-apache2-module
on my command line but I already did that when I first installed
Passenger and the Passenger Pref pane
2012 Jul 19
5
Detecting unicorn / defining after_fork after master startup
Hey everyone,
Working on an engine for rails that needs specialized behavior with
forking and I had a couple questions.
1. What is the best way to determine whether the app is indeed running
inside a unicorn server?
Most of the attempts I can find to detect check to see if the main
modules for Unicorn are defined, but this really only checks to see
that Unicorn is present, not that you are
2010 Nov 09
2
AMQP and Unicorn (mq gem)
Hi all,
I''m having issues with Unicorn and connecting to
RabbitMQ using the tmm1-amqp gem.
I''ve tried lots of approaches.
The classic initializer with Thread.new { EM.run }
for the Rails app and even tried using
the Qusion library.
(https://github.com/danielsdeleo/qusion)
I''ve made a simple mod to Qusion for it to monkey patch
unicorn too.
The code looks
2010 Sep 15
19
Rails 3 with Mongrel possible?
After much fiddling and googling, it seems to me that Mongrel, even the
1.2.0pre2 release is not compatible with Rails 3 -- is that true?
When I start up a new Rails 3 project (i.e. one fresh after a
`rails new` command), mongrel appears to start (creates a pid file, and
reports no errors on the CLI), but the app does not load in the browser
and I find this in the mongrel.log
2013 Feb 07
5
does unicorn fork like phusion?
Does unicorn work like phusion in that it automatically forks based on
traffic levels?
Or is that what thin does also?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org