Ruby on Rails is an open-source, MVC web development framework written in Ruby, optimized for programmer happiness and maintaining sustainable productivity. Many things are defined by convention, freeing you from having to re-invent things to stay productive.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

Rails Activerecord update saving unedited field as blank [migrated]

I've thrown together a quick down and dirty app to track some information on a temp basis. I know, don't store passwords in clear text. This is not public facing, it's on an internal box with ...
0
votes
1answer
20 views

Uninstall Ruby on Rails on CentOS 6

How can I remove Ruby on Rails and all associated gems? I tried yum remove ruby but get this response: yum remove ruby Loaded plugins: fastestmirror, security Setting up Remove Process No Match for ...
0
votes
0answers
14 views

Active_scaffold with conditions_for_collection [migrated]

I am new to rails. When i work with conditions_for_collection, i get struggle how it creates SQL queries. I wants to know the complete execution sequence of conditions_for_collection method. Please ...
0
votes
2answers
67 views

App got press, then servers got owned. I added 8 more servers, STILL too slow [duplicate]

Our new app has received a lot of press today, and is getting thousands of new users every hour... but it has become so slow that it's unusable. We're using Rails 3 patched to latest, ubuntu, ...
2
votes
1answer
24 views

Mongodb production server too slow compared to staging

We have two sets of db and app servers running on Rackspace VPS. Production and Staging. The app is on Rails and db is MongoDB. While staging(with as many documents as prod, 55k) works just fine, ...
-3
votes
0answers
18 views

When to Scale Heroku Application based on New Relic (Request Queueing?)

I've been watching New Relic on my application as if I understand the numbers. I have request queuing spikes up to 20k ms per request, others around 9k. I'm not sure what to scale based in this ...
0
votes
0answers
12 views

Migrate Rails app with passenger, capistrano(with rubber), and ImageMagick to Dreamhost

I have a beta app that a developer has made for my company and I need to clone their work onto another server. I have successfully backed up the MySQL database to another server and copied all their ...
0
votes
0answers
26 views

Dedicated server vs VPS: advice on scaling site

We could use advice on a scaling/ops issue. We have a simple mobile app that runs on Rails 3.2.12 and uses MongoMapper instead of ActiveRecord. There is one database call that sporadically performs ...
-1
votes
0answers
15 views

rails does not listen to htaccess [duplicate]

I want to configure my server to redirect all users to a certain page during maintenance. I configured the htaccess like this (it is in application's public folder): RewriteCond %{REQUEST_URI} ...
0
votes
0answers
36 views

Comparable hosting scenarios [closed]

I understand I'm asking a subjective question, but I'm hoping to temper it with looking to real world examples rather than just asking about what hosting requirements I need. Question: Can you give ...
2
votes
1answer
21 views

Mongrel over mod_proxy unacceptably slow

Here is the situation C:\>ab -n 100 -c 5 http://webserver/track/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, ...
0
votes
0answers
27 views

Upgrade OpenSSL to Latest Version

I'm build app ruby on rails but openssl on my server is old. I need upgrade openssl because openssl certificate verfication failed. OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 Centos 5.8 I have tried ...
0
votes
0answers
25 views

Why do I need to precompile Rails assets on app servers?

I'm deploying a simple Rails app to this small ubuntu precise64 server setup : * 1 server running nginx * 2 servers running unicorn * 1 server running postgresql My servers are provisionned with ...
0
votes
2answers
100 views

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 ...
0
votes
0answers
11 views

After migration: Ruby code sees method as undefined, ran fine previously [migrated]

So my Odyssey of fixing a broken ruby setup is not yet quite over. I'm now running a passenger server, and ruby 1.8.7 with rails 2.2.2, since there's a legacy installation that requires it. This ...
0
votes
1answer
72 views

Ruby/Mongrel installation broken after CentOS upgrade, server won't start

I think my previous questions was somewhat badly formulated. I've got an issue with a CentOS system that is running ruby and a mongrel server which failed after an OS update. Edit: The initial ...
0
votes
0answers
11 views

Ruby on Rails setup broken after OS update. Mongrel might be failing to start [duplicate]

So there's this installation on a virtual server, administered by Plesk, running CentOS. The OS has been automatically updated recently - this broke a custom ruby installation. I haven't set up the ...
0
votes
0answers
16 views

Is it possible that SQLite has locking issues due to being on a VPS?

I've had a SQLite driven (ruby on rails) site running for a while now on a dedicated server without any major issues and now I'm thinking of moving it to a VPS. But when on the VPS the site randomly ...
0
votes
1answer
43 views

Multiple Rails/Rack apps Nginx one for each subdomain

I just hired a VPS with Ubuntu 12.10 x64. I've managed to get one Rails app running with passenger-nginx. Now I want to run another app as a subdomain, say for example admin.mydomain.com. How can I do ...
0
votes
0answers
29 views

nginx proxy pass config

I'm trying to edit some nginx config that currently sends all traffic to a Rails application. I need the config to send http://www.foo.com/myapp to Rails and everything else to another server, which ...
1
vote
1answer
53 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 ...
0
votes
2answers
50 views

How to Update Redmine on Windows (Helicon Zoo)

Quite some time ago I installed Redmine 2.1.2.stable using Helicon Zoo feed. And it's been working great (minus multi-minute app pool warm up times). What's the best way to upgrade to the latest ...
0
votes
1answer
32 views

Scaling Rails 2.x application with more app servers

I'm thinking of a setup for our rather popular website to be able to scale on the CPU side of things. We are running quite a few CPU intensive image conversion jobs at random times (user input) and ...
0
votes
2answers
52 views

Nginx + Unicorn multiple apps with locations - routing

I would like to run multiple rails apps with just using different location blocks. Different unicorn workers are started and configured, they are working just fine. Every app is under the same ...
0
votes
1answer
42 views

How to assess how much a Ruby/MySQL server can keep up?

We've taken over a legacy system that was implemented between 2007-2009 in Ruby and MySQL and since then has had only maintenance work done on it that was necessary to keep it alive. As a result, ...
0
votes
2answers
52 views

Rails: Mysql: Post-server-restart: why do I get “Can't create/write to file '/tmp/#sql_4d2b_0.MYI' errors”?

I get ErrorCode: 2 which I assume is ENOENT (No such file or directory). Here are the full details (from my stackoverflow post, which was closed by the powers-that-be as being of limited interest. ...
0
votes
0answers
22 views

Rails Thin Server on Windows server - cannot connect

I've got a RoR app running on a virtual Windows server that I can only connect to from the virtual machine I'm connecting to it from. I've tried launching it with both 0.0.0.0 and its IP as the ...
0
votes
1answer
77 views

Ec2 instance down with error: cannot create temp file for here-document

Iam running my website built on ruby on rails in development mode on ec2 instance, when i ssh to that instance it says.. Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-17-generic x86_64) * ...
0
votes
0answers
39 views

what is simplier to deploy as reverse proxy server: nginx, lighthttpd or mongrel? [closed]

I have node.js (storage) and ruby (RoR, backend) applications, and I want them running behind a reverse proxy. What is the simpliest solution for it (I have not enough time now to fight with the ...
0
votes
0answers
88 views

Nginx and Passenger: buffering request to tempfile

recently I'm noticing these kind of exception in my nginx error log. [warn] 11443#0: *56057 a client request body is buffered to a temporary file /etc/nginx/client_body_temp/0000000192, client: ...
0
votes
1answer
33 views

Pass on passenger_base_uri to Rails app

We built a Rails app that consists of the following routes: namespace :api do namespace :v1 do resources ... end end That means, all controllers are reachable via ...
1
vote
1answer
108 views

setup Nginx, uwsgi for RAILS app on non-root location

I've set up and run a RAILS app (graylog2), and bellow config made it worked for root location: server { server_name www.mydomain.com; location / { gzip off; uwsgi_modifier1 ...
0
votes
1answer
52 views

Can pingdom shut down/slow down a site on Heroku?

We have a Rails app on Heroku. We have 2 dynos. We're noticing that the site is not loading today with frequency. Lots of Request timeouts. Also, assets in particular, which are also hosted on ...
1
vote
0answers
317 views

Ubuntu, ruby 2, rails 4

I'm trying to setup a server, which has Ubuntu 10.04 LTS, Ruby 2.0.0-p0 and Rails 4 beta1. I can get everything installed but rails 4 has a slight error and I'd like to get someones opinion. When I do ...
0
votes
1answer
105 views

Redmine (RoR rack app) on uWSGI forgets sessions when ran with more than one process

When I log into redmine it forgets that I was logged after first click on any link or immediately after the login redirect. After I refresh the page a few times, I am still logged in in some of this ...
0
votes
0answers
105 views

How to set up SPDY Protocol over Nginx?

I am having problem setting up the SPDY protocol for my rails app over nginx. Here is the complete detail of the setup on stackoverflow. ...
1
vote
1answer
116 views

Unicorn error while hosting a Rails app with NGINX

All of a sudden my app stopped working and these are the last lines I am getting from unicorn.log unicorn worker[0] -D -c /home/deployer/apps/myapp/current/config/unicorn.rb -E production: ...
0
votes
0answers
55 views

Ruby concurrency + Scaling with Rails

We have a social networking site runs with, Stunnel->Haproxy->Nginx->Unicorn We have 20 unicorn processes running in a 24 core machine. When i run the tests with 200 requests and 100 concurrent ...
0
votes
0answers
45 views

custom error pages in nginx for a ruby in rails application running with passenger

I want to add the custom nginx error pages like we are under maintenance and other error pages. This the configuration I have written server { listen 80; server_name myapp.com; ...
0
votes
1answer
38 views

Gitorious - ActionController::UnknownHttpMethod when logging in?

I'm going to install Gitorious as a slave server for failover purpose follow this blog post. gitorious.conf NameVirtualHost *:81 <VirtualHost *:81> ServerName gitorious.domain.com ...
0
votes
1answer
153 views

Nginx + Unicorn Rails Application gets 404 when requests number are high

I have a Rails application deployed using Nginx + Unicorn. Last night, when the traffic peaked, Nginx was getting lots of 404 errors. When I dig into logs, those 404 requests on the nginx side did not ...
0
votes
1answer
48 views

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 ...
0
votes
1answer
66 views

problems with nginx and serving ssl; possible certificate issue

I have a site that I haven't launched yet that is running all http traffic on production over ssl. The problem is that if a call is made to https://www.domain.com/homepage.html , there is also a call ...
1
vote
0answers
105 views

no server available after deploying amazon ec2 rubber rails app

I am a server / sys admin noob, so any help is greatly appreciated here. I am using Rubber to deploy on amazon ec2. I am deploying a t1.micro istance and have followed the railscast. I tried one ...
-1
votes
1answer
81 views

Use nginx instead of apache with passenger and run rails server [closed]

I have installed nginx with passenger via that manual: http://excid3.com/blog/setting-up-ubuntu-12-04-with-ruby-1-9-3-nginx-passenger-and-postgresql-or-mysql/#.UPhH2Cd0kZc but after server restart ...
0
votes
0answers
35 views

Redmine & Apache Files directive ignoring sub directories

I'm working with Redmine, a Rails application that is being served by Apache + Passenger. The entire site is authenticated using Shibboleth. However Redmine has an API that needs to be available to ...
1
vote
1answer
49 views

How can I make apache use PHP over passenger by default?

Here's my setup: I have an apache server running a number of virtual hosts, each of them using PHP. I now have a rails app I want to install to a subdirectory for one of the sites (a subdomain would ...
2
votes
1answer
108 views

How to debug why my server has 3s delay on each request nginx/unicorn?

I am trying to debug why my server has 3 seconds delay on each request. These are my nginx and unicorn config files: https://gist.github.com/regedarek/de7f2e5cd1918b6224ac My server info: ...
0
votes
1answer
117 views

Trouble installing Redmine on CentOS 6.2 - undefined method db for main:object

I am trying to install RedMine on CentOS 6.2 but I am running into difficulties when I try to access the site. Using this guide, I have configured the following in environment.rb: # Load the rails ...
0
votes
1answer
174 views

Problems set-up Single Sign-On using Kerberos authentication

I need for Ruby on Rail application set authentication via Active Directory using Kerberos authentication. Some technical information: I are using Apache installed mod_auth_kerb In httpd.conf I ...

1 2 3 4 5 14