Questions tagged [ruby-on-rails-3]

48 questions
8
votes
3 answers

Errno::ENOSPC: No space left on device in Ruby on Rails

Iam hosting a Ruby on Rails Application on a Linode with 96 GB storage. All the images of my application are stored on amazon and they are fetched from amazon. Thus my linode should have a minimum of 80 GB storage free. But when the log files of…
Swati Aggarwal
  • 183
  • 1
  • 1
  • 4
5
votes
3 answers

Redmine 2.x with gitolite integration

Has someone here correctly configured Redmine 2.x (I'm using Redmine 2.0.3) with gitolite? If yes, how?
boos
  • 631
  • 1
  • 6
  • 8
5
votes
1 answer

Can't connect to Ruby on Rails Development Server on Centos 6.3

I've having trouble connecting to my Ruby on Rails development server: When I type in 192.168.0.10:3000 into a web browser on a different the connection just times out. I suspect the problem is with my firewall configuration, but I've tried to open…
sandyscott
  • 203
  • 3
  • 7
5
votes
1 answer

Setting passenger with Apache virtual hosts?

I am setting up a new server which I intend to host multiple Ruby on Rails applications on. The server is running Ubuntu 10.04 LTS and I have set the Apache virtual hosts up so each application has it's own sites-available configuration file…
dannymcc
  • 2,677
  • 10
  • 46
  • 72
4
votes
0 answers

Suddenly started experiencing enormous wait times before requests hit server

Our web app has been getting 20k-30k views a day, and steadily growing. About 4 days ago we suddenly started seeing wait times of 30-40 seconds before the HTML was even being delivered, on pages that had been rendering in 1 second even the day…
4
votes
1 answer

Unicorn workers dying

Last night at around midnight, our app fell over and I'm trying to determine why. We currently have a nginx front end server and 2 unicorn worker (app) servers on EC2. Pretty much our unicorn workers kept timing out and hence, were restarted by the…
James
  • 151
  • 1
  • 6
4
votes
2 answers

How to resolve high CPU + excessive stat("/etc/localtime") and clock_gettime(CLOCK_REALTIME) calls

I've been experiencing really high CPU on a ruby on rails app (see stack below) and have been trying to diagnose the possible causes to no avail. Stack: ruby 1.9.3 rails 3.2.6 Apache/2.2.21 (Debian) Phusion Passenger 3.0.11 Whenever I run strace…
Yemster
  • 41
  • 1
  • 3
4
votes
3 answers

Install postgresql on fedora 16 for use with Rails3

I'm trying to install posgresql on F16 to work with my rails installation. Using this guide http://wiki.postgresql.org/wiki/YUM_Installation#Initialize But when I run service postgresql initdb I get this error Unknown operation initdb
Antarr Byrd
  • 155
  • 9
3
votes
1 answer

Should I do a fresh install of PostGreSql?

I had to reinstall a Rails app onto a fresh OSX Snow Leopard installation. I had a hair pulling session just trying to get the pg gem to install properly with Rails. First I installed PgSql 9 through this link. However, I started getting errors when…
2
votes
1 answer

IP spoofing attack errors after setting up a nodebalancer on Linode.com

I recently set up a NodeBalancer in front of a Rails 3.2.12 app. The app is served by nginx and Unicorn. All seems to work fine, but I get a lot of errors such as these that I didn't get when I only had 1 server. IP spoofing…
jlfenaux
  • 283
  • 1
  • 4
  • 8
2
votes
1 answer

Configure SSL and HTTP in nginx with Rails 3.2

I've looked at some examples but I really can't figure out why ssl wont work. My situation: First of all I have a rails application with passenger, the normal application works with nginx, no problem there. I would like to add ssl support on some…
DanFritz
  • 123
  • 5
2
votes
1 answer

Separate server for Resque workers

I'm trying to segment a few servers for a Rails project and part of that is entertaining the idea of isolating Resque workers to their own box. I already have Redis broken out, but is it common to put Resque workers elsewhere? Do they need to be…
cmhobbs
  • 267
  • 1
  • 3
  • 11
2
votes
2 answers

Whats better, Higher GHz and fewer cores or more cores with lower GHz for a ruby app

I just finished developing a web crawler that essentially allows users to crawl their site and it informs them on errors through out their site. However my app is very server resource intensive. it is a ruby app using rails, mongo, a handful of…
akaDanPaul
  • 21
  • 1
2
votes
1 answer

ActiveAdmin User management

I am new to Ruby on Rails. I am using ActiveAdmin for administration purposes. I have Googled a lot about "how to manage admin users" for example, changing default username password from admin@example.com and password to something else. Or how to…
Moon
  • 119
  • 1
  • 6
1
vote
1 answer

nginx blank page with puma and rails on beanstalk

I tried to deploy rails api to elastic beanstalk with nginx and puma as the app server. THe deploy was successful, database created and migrated. However, when accessing the web, it just show whitepage. I can see that the request was recorded in…
1
2 3 4