0
votes
0answers
14 views

Is it necessary to use Nginx when deploy a Rails API ONLY app?

Currently I've already read a lot tutorials teaching about Rails App deployment, almost every one of them use Nginx or other alternatives like Apache to serve static pages. Also in this QA Why do we ...
0
votes
2answers
47 views

Installing MongoDb on EC2

I'm trying to deploy a Rails 3.2.3 with MondoDb app to EC2. I've chosen t2.micro instance. However, I found out that to use MonboDb I have to use at least m1.large - ...
0
votes
0answers
33 views

`rake db:migrate RAILS_ENV=production` gives error

When I run the command: rake db:migrate RAILS_ENV=production I get the following error: rake aborted! PG::ConnectionBad: could not connect to server: Connection refused Is the server running ...
0
votes
1answer
46 views

Restart individual application in apache+passenger on ubuntu server

I have multiple ruby on rails applications on the server(Apache + passenger ) using RailsbaseURI. When new applications are deployed, apache is configured to reload which reads the new configuration ...
0
votes
1answer
287 views

Capistrano authentication to server fails but ssh for deploy user works

I've been working with capistrano for about a year deploying an app and everything went fine, until a couple of days ago when I got this ** [server_name :: out] fatal: Authentication failed after ...
-1
votes
1answer
67 views

SSL apache2 settings no pointing to rails4 app

My apache config /etc/apache2/apache2.conf is: <VirtualHost *:443> ServerName www.bollymovi.es DocumentRoot /home/fizzy/bollyflix/production/current/public SSLEngine on SSLCertificateFile ...
1
vote
2answers
212 views

Rails: Multiple application deployment strategy

At my company, we currently have one main project which is a big monolithic Rails app. Deployment is easy, we have a couple of frontend servers (setup with Puppet) which Capistrano deploys into ...
1
vote
0answers
192 views

Deploying a rails app to 1&1 Virtual Server L Windows first steps

Evening all, I have a rails app that I need to deploy to a 1&1 Virtual Server L Windows. My setup uses a MYSQL db, rails 3.2, ruby 1.9 and was built on a mac. I have read numerous accounts of ...
0
votes
1answer
118 views

Hosting for a Ruby on Rails application [closed]

I am a Ruby on Rails developer and I am planning to purchase an hosting space in order to publish my web application (I'm developing a small Social Network). This is my first time that I try to deploy ...
0
votes
1answer
595 views

Deploying a small Rails app - suggestions?

We've been working on a smallish Ruby On Rails (ruby 1.8, rails 3.0.1) system for our school finals project; during development, we've been testing on a mix of our development machines and a linux ...
2
votes
2answers
5k views

How to execute a command on the server with Capistrano?

I have a very simple task called update_feeds: desc "Update feeds" task :update_feeds do run "cd #{release_path}" run "script/console production" run "FeedEntry.update_all" end Whenever I try ...
2
votes
2answers
987 views

How to protect Ruby on Rails code on external server?

I have to deploy a Ruby on Rails Applications on a client's server and I do not want them to be able to view or modify the source code. How would you protect the code technically? I thought about ...
1
vote
0answers
198 views

(Rails, Warbler) Deploying and initializing Rails applications in Glassfish…?

I'm currently in the process of finishing up a Rails application. I am using Warbler to package it up as a ".war" file and am using GlassFish to deploy it. I do this because the application is to be ...
0
votes
2answers
201 views

Deploy RoR on Apache 1.3 without admin permissions

At work I have a SuSE 7.3 running Apache 1.3.20, which I don't have admin access to. I'd like to deploy Ruby on Rails with no or very little work for the admins. I need the service to keep running ...
0
votes
2answers
608 views

How should I deploy my Rails application on a VPS for quick scalability?

I created a web application using NGINX, Rails, and MySQL. Currently they are all running on a single VPS (Slicehost). I've followed best practices and maintained a very minimal ...
2
votes
2answers
1k views

Deploy Rails app from Hudson

I'm using hudson as my CI and it works great, builds run their tests, code metrics, all that good stuff. But at the moment, that's it, no automated deployment, I have to manually do that after. I ...
10
votes
5answers
3k views

What dir should I deploy Rails apps into?

What would be a reasonable and logical directory into which to deploy my production Rails apps on a Linux system? Some candidates... /var/rails <= There's a /var/www so this would be consistent ...