Questions tagged [ruby-on-rails-3]

48 questions
1
vote
1 answer

"Thin" Rails Server - Automatically Startup

I am looking for some ideas on how to start up my "Thin" Rails server automatically, whenever the machine where it resides reboots. The problem is that when the machine reboots, "Thin" needs to be started up manually, which causes issues with the…
Slinky
  • 957
  • 3
  • 14
  • 25
1
vote
1 answer

Rails AWS Architecture - migrating from single Linode machine to AWS

Our startup has an app that's been in production for nearly a year running Rails/MySQL+MongoDB/Unicorn/Nginx successfully on a single Linode box. We've recently decided to move to AWS for several reasons: Cost - we received several thousand dollars…
sa125
  • 325
  • 1
  • 7
  • 14
1
vote
0 answers

Issue serving static contents securely via nginx X-Accel and rails send_file

I am trying to serve static contents via nginx & rails using X-Accel-Redirect. My actual static content directort located at rails root folder like this rails_root\books. This is my nginx config file mapping the url with the actual file…
RameshVel
  • 141
  • 4
1
vote
1 answer

iptables - ruby on rails mailer problems

Hey guys i am having issues with my iptables configuration. When i allow all packets my mailer in ruby works. When i deny all and have my rules setup i have issues sending mail. The output from the syslog Jun 21 20:00:41 JJD-PRODUCTION-WEBSITE…
itmanager223
  • 25
  • 1
  • 1
  • 6
1
vote
1 answer

Showing Directory Root When Launching Rails App Using Apache2 and Passenger

I have done the following in an attempt to host a Rails 3.2.3 application using Apache 2.2.21 and Passenger 3.0.13: Installed gem Passenger rvmsudo passenger-install-apache2-module Added website info in /etc/apache2/extra/httpd-vhosts.conf Added…
1
vote
1 answer

Relative path incorrect in the view layer when hosting a rails3 app in a subdirectory using passenger and apache

I want to host multiple Rails apps on a multiple server using sub-directories. And have encountered some relative path problems. I have made a symbolic link to the app's public directory and placed it in the /var/www/html directory, var/www/html/ …
Saifis
  • 199
  • 2
  • 13
1
vote
1 answer

Rack processes taking over CPU under Passenger

I have a Spree site running the following stack: Nginx 1.0.8 Passenger 3.0.9 Ruby 1.9.2-p290 Rack 1.3.6 Rails 3.1.4 Spree 0.70.5 I recently upgraded from Spree 0.70.3, which also brought a Deface upgrade from 0.7.x to 0.8.0. Since then things have…
pjmorse
  • 1,450
  • 1
  • 17
  • 34
1
vote
2 answers

Best Practice: RVM w/ Multiple Nginx-Passsenger Standalone Servers Running One App per Server

I'm wondering what would be the best approach to hosting multiple Rails applications where each application has a different gemset and may possibly use a different version of Ruby. I'm thinking of running RVM to manage the different gemsets for each…
John
  • 526
  • 1
  • 5
  • 13
1
vote
1 answer

Co-locating my first server

I have been running a self-managed dedicated server for a a few years now, and think I'm ready for my first co-located server. I have some questions I hope you can help with. What is the server for? The server will host my own handful of sites, most…
A4J
  • 277
  • 2
  • 4
  • 10
1
vote
2 answers

Should I be THAT concerned over malicious attempts in log?

Whenever I look over at server logs, I run into a bunch of failed fraud/hacking attempts. Mostly just failed attempts to access config files and what not. This is never that big of a issue for me since I try to always use security through obscurity…
James
1
vote
1 answer

Installing both rails2 and rails3 on the same server

I have a VPS running debian lenny, and I currently am running a Ruby on Rails application that uses Rails 2.3.5. This application works fine by itself, and uses Apache 2.2 with mod_rails. I would like to additionally install another Ruby on Rails…
0
votes
0 answers

Apache ssl connection in ruby on rails (SLES)

Now (Rails version: 3.2.13, Ruby version: 2.1.9p490) I have a sles machine and I've got the following files to make it from http (which works) to https (does not work) connection by hand: - cacert.crt - intermediatcacert.crt - rootcert.crt -…
Marcel B
  • 1
  • 1
0
votes
1 answer

AWS EC2 DNS not responding to Rails app deployment on CentOS 6 with capistrano

I'm attempting to deploy a small rails app w/ sqlite3 to a micro AWS EC2 CentOS 6 instance using capistrano (after not having much success with nginx & passenger). I follow this site to deploy my…
0
votes
2 answers

Capistrano 2 update_code task not using sudo

I'm using Capistrano 2(.15.4) to deploy rails applications (i know, trying to get to 3 but not quite there yet). We have a new server environment being set up, with IT preferring access through our own user and sudo'ing to the user to deploy…
ilasno
  • 236
  • 1
  • 3
  • 16
0
votes
1 answer

404 not found error on Rails app with Helicon Zoo on Windows Server

I'm trying to run Rails App with Helicon Zoo on Windows Server 2008 R2. For the test case I used Redmine 2.3 that goes with the Helicon Zoo module. Redmine has been installed successful, but it is available only from local network. I've configured…