Questions tagged [ruby-on-rails-3]
48 questions
0
votes
1 answer
Due to Haproxy I didn't get the client ip address
I am using Haproxy for load balancing.
My website run on ruby on rails.
I have done some googling and come to know to add this line
option forwardfor header X-Client
in /etc/haproxy.cfg file.
In my rails application I'm using…

manish nautiyal
- 109
- 2
0
votes
1 answer
phusion passenger processes dying and new ones starting up mysteriously
as you can see, passenger processes are dying and new ones booting up, even though we're not explicitly restarting passenger ourselves. we can't pinpoint what's causing this. what are some common places we should look to find out what's triggering…

Crashalot
- 177
- 3
- 11
0
votes
2 answers
Rails 3 with Thin Server - Removing Port 3000 from URL
I have a small Rails app currently being served (dev and production) by Thin server on port 3000, on a Debian box that also has apache2 running, serving PHP applications.
I am not certain if this is even possible given the current setup but is there…

Slinky
- 1,027
- 3
- 15
- 26
0
votes
1 answer
pgpool-ii show server as down, but server is running fine
I am using postgres 9.2 with streaming replication. I have 1 master DB and 2 standby DBs, it's hosted on amazon EC2, each has it's own server. On separate server i have pgpool(3.2.3) that does load balancing
In the pgpool config I have…

Dzmitry
- 111
- 2
0
votes
1 answer
Duplicate requests with different IPs from client causing duplicate actions in Ruby on Rails 3.2 controller
I have been trying to figure this issue out for a while re-checking my code and searching on the internet, I found some possible answers if the cause was something else but nothing exactly like I have here, so I thought it was time to post my first…

tronmcp
- 101
- 2
0
votes
2 answers
Install Ruby and Rails on Debian Squeeze
We have a Linux (Debian Squeeze) server in production, currently running apps on a LAMP stack.
I now need to bring over an existing RoR app from a different server onto this new server and get it running. I've seen Ror installation scripts on GIT…

Slinky
- 1,027
- 3
- 15
- 26
0
votes
2 answers
500 error with deploying rails application via apache2+passenger
I finally completed my own app, so the only work left is deploying the app.
I'm using Ubuntu 10.04 and apache2(installed by apt-get), so I'm trying to deploy through passenger.
I installed passenger gem like this:
sudo gem install passenger
rvmsudo…
user1633983
0
votes
1 answer
Easy way to launch several rails apps on the server
I have several rails applications on my server. Each application uses its own rvm gemset. I'm using Thin as web server for each application, this servers installs as a gem separately for each application. Each server runs on different port. Main…

Riateche
- 99
- 4
0
votes
1 answer
Should I create a system user for unicorn server?
When running a Unicorn server on Linux I am debating whether to run the service under a system or normal user. Which one should I use and why?

mr_ffloyd
- 3
- 1
0
votes
1 answer
IE Ajax Request times out even though server is responding
This is a repost of the following SO question because I'm pretty convinced that this is a networking/server issue, and not something wrong with my code.
https://stackoverflow.com/questions/7842530/ie-9-30-second-ajax-post-requests
Here's the gist:…

Topher Fangio
- 279
- 3
- 13
0
votes
2 answers
Worried that my webserver has been hacked (or compromised) with redirects to 'guide-securesoft.ru'
Possible Duplicate:
My server's been hacked EMERGENCY
So I am very panicked.
I have a Rails application I am building hosted on a VPS for a staging environment. I configured it earlier in the month and everything was working fine (specifically…

Ash
- 143
- 1
- 1
- 8
0
votes
3 answers
Production server setup problems
I'm trying to setup rails 3.0.10 on a Ubuntu VPS server. I'm using postgres 9.0.4, Apache and passenger. When I run my server I get this error:
PGError
could not connect to server: No such file or directory
Is the server running locally and…
Rutger Karlsson
0
votes
1 answer
Multiple host on AWS Ec2
I need to deploy multiple Ruby on Rails application on an EC2 AMI on AWS and I need every application to be attached to a domain name
I think this first part is all for the Apache web server and passenger for the rails deployment.
What i was…

Mr_Nizzle
- 133
- 5
0
votes
1 answer
How to deploy Rails 3 on FreeBSD 8?
I'm pretty nooby to FreeBSD and I only have worked before with ROR on Mac OS and Heroku. Now I've got VPS with installed FreeBSD 8 and found it problematic to install ror 3 with mongrel properly. Google gives me only really outdated guides, so I was…

Anton Axentyuk
- 165
- 6
-1
votes
2 answers
Can we run Ruby on Rails app and a Wordpress blog in the same server? How?
Im running Nginx on my PS server. It have three Wordpress websites. Im trying to start converting one website into a Rails application. First I will convert only the front page. The other sections run under subdomains as seperate servers in Nginx.…

THpubs
- 1,695
- 7
- 26
- 43