Displaying 20 results from an estimated 10000 matches similar to: "Deploying to production advise"
2006 Jan 28
1
RailsCron 0.2 questions
Hi all, I''ve set up RailsCron to send email reminders on a daily
basis. My dev environment is Rails trunk on Debian Sarge, lighttpd
running as a regular user.
I''m having two issues:
1) When I run "rake cron_start", I get
rake aborted!
undefined method `blank?'' for "":String
The "blank?" method is provided by Rails, so I''m
2005 Dec 18
3
Render Nothing....
Hi,
What''s the best way to render nothing ? I am making an ajax call to
an action on my controller that does not need to make any changes to the
view.
Not sure how do that yet as I get an exception in the logs saying
xxx.rhtml not found....
Thank you all !!
--
Posted via http://www.ruby-forum.com/.
2006 Jul 31
0
Can''t get into production mode!
Hi all,
I''m deploying my first rails app. I''m using lighty and fcgi, and cannot
get the app to go into production mode. I deploy via Capistrano.
When I dump ENV, RAILS_ENV is still ''development''. Is something
overriding the lighty config?
Here is the lighty config:
var.appname = "mcalogin"
server.port = 1411
server.modules =
2006 Mar 11
2
Has anyone created a UAT environment to go with test, development and production?
Has anyone tried to add another environment.
When developing I develop locally, deploy to a UAT environment for
checking that my stuff fits into the organisations infrastucture and
user testing and then deploy to production.
test and production are fine. The main problem is that development (I
currently hack the the database.yml and drop the test branch to loose
some local development mocks
2006 Jul 10
0
Deploying Rails with Pound in Front of Mongrel, Lighttpd, and Apache
Fyi, here''s a write-up I just posted on deploying Rails with Mongrel(s)
behind Pound:
http://blog.tupleshop.com/articles/2006/07/08/deploying-rails-with-
pound-in-front-of-mongrel-lighttpd-and-apache
Rob
2005 Dec 30
2
Locomotive 1.0.0 for Mac OS 10.3+
Hi All,
I''m very happy to announce the release of Locomotive 1.0.0.
Locomotive is a one-click development solution for Rails on Mac OS X.
See more details at http://locomotive.sourceforge.net
Get it at:
http://prdownloads.sourceforge.net/locomotive/Locomotive_1.0.0.dmg?download
What''s New?
===========
* Server bundle updated to lighttpd 1.4.8
* Server bundle updated to
2006 Apr 12
5
Production deployment speed "wakeup" issue
The deployment scenario...
Apache2 on shared host, proxying to lighttpd, which has 3 external
fcgis running on localhost. The fcgis are managed by spinner/spawner.
We''re noticing a definite speed issue on "first requests" to this site.
For example:
* Hit the site a few times, paying no attention to load time
* Wait x period of time (haven''t quite narrowed this
2006 Mar 28
6
Deploying rails...
Hi,
I thought I''d give lighttpd and FastCGI a go but the latest version I''ve
found for fastcgi is 2.4.0 which was released in January 2003. Is this
the right version?
Can anyone recommend the versions I should use for FastCGI et al and
where to find them? I''m not sure I''ve really found what I''m looking
for...
--
Posted via
2005 Dec 22
1
Lighttpd/rails deployment error
I have been trying to get Lighttpd working.... we have been using
webrick, but want to move to a production quality web server. I
followed the instructions found here :
http://brainspl.at/pages/rails_stack
We are developing on windows and deploying to Fedora Linux. We''re using
rails 1.0. The build actually happens on the windows box and using ant
transfers the code to the Linux box.
2007 Oct 20
4
deploying with capistrano - web site responds much faster
Hi,
just out of curiosity: I have a RoR website, and till now I used to
deploy it by hand. Now I''ve deployed it automatically, and after this
the web site response is much faster. I don''t know if capistrano did
something else too, though the speed of how the site runs has
increased a lot.
there is another thing though: I''m using a shared account on
textdrive, and there
2006 May 11
6
Howtos: Deploying Rails on Windows servers
After a lot of work (and much promising) I have written instructions
on various methods to deploy Rails applications in a Windows
environment. For those of you who are not stuck with Windows, this
won''t matter too much to you, but I think this is really useful for
those in Windows shops.
Topics covered:
* Serving Multiple Rails Applications on Windows with Apache and
Mongrel
* Integrate
2006 Jun 28
5
Production deployment
Gang-
We are getting ready to launch our ROR application; the last item
remaining is the deployment platform. For testing, we had used Apache +
MOD_FastCGI. I am not that impressed with it; sometimes it has strange
effects. For example, when we start the application, for about 5 minutes
or so, the app is very unstable and it gets better over time.
My questions is .. should I go with (1)
2006 Jan 25
0
Shovel Switchtower deployment
Hello,
Iam trying to use Shovel deployment as explained here
http://nubyonrails.com/pages/shovel. Iam currently using windows as my
development environment and *nix to deploy the application. I have changed
all the dispatch.* files to be executable. but when I run
rake remote_exec ACTION=setup_lighty
it asks for my password and installs lighttpd and other stuff, but
fails on task update_code.
2006 Jun 15
1
Problem with deployment on TextDrive using shovel script
Hi,
I try to deploy rails application to textdrive account.
I use Geoffrey Grosenbach''s script
http://nubyonrails.com/pages/shovel
Unfortunatly I receive error message :-(
Can you help me with this problem? I have no clue where exactly problem
is :-(
Please see log below
----
LOG
----
c:\Projekty\truck\trunk>rake --trace remote:exec ACTION=setup_lighty
(in
2006 Feb 15
5
Lighttpd now works for production. Development is broken?
I''ve finally gotten lighttpd working for my production instance (SUSE
10.0 with SSL).
(Had to install the fcgi dev toolkit, the SUSE 10 ruby-fcgi rpm, and
the fcgi gem. I''m not positive all 3 were required, but that is what
I did.)
Now the devel instance of my app is broken.
I''m not sure how to fix it.
Previously I was using WEBrick for both devel and production.
2006 Feb 15
4
Lightty 1.4.10 socket file problem
When I run lighttpd 1.4.10 [on Mac OS X] the socket file is called
''fcgi.socket-'', versus ''fcgi.socket-0'' that I get under 1.4.8.
Further, when the FCGI daemon quits, the file does not get deleted,
and I cannot restart my Rails app until I manually remove it.
Can anyone confirm before I raise a bug at lighttpd.net?
2006 Jan 24
17
Updated lighttpd to 1.4.9 - error running dispatch.fcgi
Hi all,
I just updated lighttpd from 1.4.8 to 1.4.9 and it now refuses to
start with the following error:
2006-01-24 23:12:24: (mod_fastcgi.c.989) execve failed for: public/
dispatch.fcgi No such file or directory
2006-01-24 23:12:24: (mod_fastcgi.c.1015) the fastcgi-backend public/
dispatch.fcgi failed to start:
2006-01-24 23:12:24: (mod_fastcgi.c.1019) child exited with status 2
2007 Feb 05
3
Deploying to production with backgroundrb (capistrano)
I have noticed that occasionally (about 50% of the time) when i
deploy (using capistrano) my app to a production server, i have to
ssh into the box and manually
stop and start backgroundrb to get it to load my workers.
this is my basic setup
i have 2 workers:
lib/workers/mp3_worker.rb => takes a hash of params to downsample an
mp3
lib/workers/flv_worker.rb => takes a has of
2005 Dec 14
3
image upload (apache2.0+ lighttpd)
Hello all,
I use lighttpd 1.4.8 and I have a problem with image uploads.
I tried file_upload plugin, but it is strangely working sometimes and
refuse to work sometimes.
Function in the controller is (@user is loaded in before_filter)
def update_watermark
@user.watermark = params[:user][:watermark]
@user.save
redirect_to :action => "index"
end
Model is
2006 Feb 19
2
Missing text/html content in production (but not development)
Hi, everyone. I''m getting a production server ready for a site I''m
working on, and I''ve been a bit stumped by a difference between the
development server (running under Webrick) and the production server
(running under lighttpd).
Here''s the scenario: I''m working on a variation of an e-commerce
system. When someone finalizes an order with our