Ruby on Rails is an open-source web framework that's optimized for programmer happiness and sustainable productivity. It lets you write beautiful code by favoring convention over configuration. Ruby on Rails website Riding Rails official blog API documentation Collaborative API documentation Rails ...
0
votes
1answer
19 views
NGINX on OSX Snow Leopard Server - extremely slow over network
I set up nginx to serve a rails application for our intranet. It runs on a osx server blade with snow leopard.
When I work on the server and go to localhost:8444 it runs very smooth and fast, but when ...
-4
votes
0answers
18 views
What is a good ISP for Ruby on Rails over goDaddy [closed]
My client uses goDaddy.
I use Site5
I need:
ssh
mysql
jquery
phone support.
I want to recommend site5, do you have a recommendation & why?
-2
votes
0answers
13 views
what to do after creating mechanize action and parsing the table and storing in databse how to check it in controller and view. (ROR)
i created mechanize action and parsing the table and storing in database in folder called datahold now how to check it in controller and view. (ROR)
mechanize action
require 'rubygems'
require ...
0
votes
0answers
10 views
unknown action areawise or no route matching areawisesearch.aspx [closed]
in controller.rb
require 'rubygems'
require 'mechanize'
class GoogleController < ApplicationController
def index
agent = Mechanize.new
...
1
vote
1answer
44 views
Configuring Nginx, Thin and Rails. Can access static pages but not dynamic
I have set up nginx (nginx.conf below) and thin. Both nginx and thin (2 servers) are running (I have checked they are running). I can access a static page in the rails public directory such as ...
-3
votes
1answer
51 views
My outside ip is now pointing to my router [closed]
I'm not port forwarding that way either or anything like that.
So yeah, I have a (paid) static outside ip, and when I type that in I get access to my browser. What the hell is up with this? This ...
0
votes
1answer
94 views
Rails + Nginx + Unicorn multiple apps
I get the server where is currently installed two apps and i need to add another one, here is my configs.
nginx.conf
user www-data www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
...
-4
votes
0answers
44 views
Forbidden You don't have permission to accesss at Bitnami Ruby Rails [closed]
I am having a Forbidden Page (You don't have permission to access / on this server.)
See http://rocksuper.bitnamiapp.com/
I modified the owner to root and still doesn't work.
Any Idea's?
Thank you
...
1
vote
0answers
25 views
Issue After Redmine Upgrade
Upgrading our redmine installation to the latest version and I am having a bit of a strange issue.
The install is on a Windows Server 2003 machine and I followed the instructions here.
After I had ...
0
votes
0answers
11 views
Connect lighttpd to running fastcgi
I am using the following script to start a spawn-fcgi process:
exec 2>&1 X_DEBIAN_SITEID="default" \ RAILS_ENV="production" \ exec
/usr/bin/spawn-fcgi -n -s ...
0
votes
1answer
29 views
lighttpd fastcgi unix bind error
I am trying to configure Lighttpd to run Redmine using FastCGI. I have added the following code to my standard lighttpd.conf:
$HTTP["host"] =~ "^foo.bar.com$" {
server.document-root = ...
-1
votes
0answers
39 views
How do you ensure your Rails server running
What is common approach to make sure that Rails server is auto-restarted after a serious crash, or a process kill? How do you deal with hanging processes? I have nginx and thin running on my ...
-2
votes
1answer
44 views
ROR Server without ruby?
I'm noob in ror, unix and other such things.
What I have:
Server A (ubuntu) with ROR application on it.
Server B (ubuntu) - new server on wich we should move.
What should I do:
Install all ...
1
vote
1answer
55 views
Random timeouts between zones in Amazon EC2?
I am having issues with tcp connections between two instances in EC2. I thought at first it was the tools I was using (JRuby on Rails stack + MongoDB) when I saw exceptions such as the following in my ...
0
votes
1answer
26 views
Running application from a different directory
I currently have Redmine setup in /usr/share/redmine and I would like to keep /usr read only. I want to be able to run the application out of /srv/redmine. I am using the debian package. The location ...
0
votes
1answer
50 views
Nginx - Passenger - Rails 3.2 not responding
I am struggeling to get my rails 3.2 app running on a nginx - passenger - ruby 1.9.3 setup.
here is what I already did:
installed passenger gem
installed rvmsudo passenger-install-nginx-module
I ...
4
votes
2answers
77 views
maintenance/installation of ruby gems/ruby on rails on Linux in general and Gentoo
I am currently looking into Ruby/Ruby on Rails as an alternative to Python/Django. My main problem is that it is rather unclear what the best practices are when it comes to installing Ruby gems and/or ...
0
votes
1answer
26 views
Rails on Dreamhost dedicated alongside existing PHP apps
I'm a developer, and don't have much administration experience. The client wants to host a Rails 3.2 app on his Dreamhost dedicated server (running Debian) which already hosts a bunch of other sites ...
0
votes
1answer
31 views
How do I connect to MSSQL server from Linux
I need a read-only access to a MSSQL server from a Linux box (more precisely, from a Heroku Cedar stack via Rails). Is it doable?
0
votes
0answers
54 views
Rails app running on JRuby & Trinidad / Tomcat hangs on first request after being idle
We have a RoR 3.2 app running on JRuby 1.6.6 hosted inside Tomcat via Trinidad.
I've been trying to figure out for the last couple of days why every so often we would get complaints of it hanging.
...
0
votes
0answers
72 views
Django and Ruby on Rails - What is more mature in terms of security and ease of use? [closed]
I am currently in the decision making process for a CMS system that does not depend on PHP out of security reasons and for personal taste.
Basically for me it comes down to the technical and security ...
0
votes
0answers
31 views
Rails Initialisation taking several minutes on EC2 Micro, MySQL + Ruby 100% CPU
As stated, after successfully performing cap deploy, and then reloading my SQL free site root (it's just a splash page at the moment), the server locks up seemingly spawning a new Rails process. ...
0
votes
0answers
28 views
setting backlog value using unicorn.conf.rb and sysctl for nginx
Is it complimentary to make this change in the unicorn.conf.rb as well as set it in the OS using sysctl? Or is it redundant, one overrides the other?
unicorn.rb.conf
`listen ...
0
votes
1answer
55 views
Ruby Enter Your Password to Create App
I have just installed ruby on rails on a Centos server with directadmin following http://blog.ilwilliams.net/installing-rails-3-with-apache-on-centos/
I'm now in a non privileged user account ...
0
votes
0answers
64 views
Nginx 502 followed by 500 error
Whenever my rails application encounters an 500 Internal Server Error (because of any exceptions at the layout), the request that follows get the 502 Bad Gateway error.
Here is the trace of my log.
...
0
votes
1answer
56 views
Apache/Passenger and cpulimit
I run a ruby on rails site that processes email - the email is dumped directly into the web app via a POST from postfix.
At times I can get a burst of email coming in causing a prolonged surge in ...
0
votes
1answer
120 views
memory tuning with rails/unicorn running on ubuntu
I am running unicorn on Ubuntu 11, Rails 3.0, and Ruby 1.8.7.
It is an 8 core ec2 box, and I am running 15 workers. CPU never seems to get pinned, and I seem to be handling requests pretty nicely.
...
1
vote
1answer
61 views
Nginx Server with Ruby on Rails application SMTP Authentication Error
I'm developing a Rails app which when I run it locally, it's able to send emails through a gmail account via smtp.
When I moved it to my sever (running Nginx), it comes up with the following error ...
1
vote
0answers
85 views
How to redirect secure requests to another subdomain in nginx
I've been searching pretty long for this one, but nothing I seem to read works right -- maybe I'm not searching for the right things. Anyway, we have a www.example.com and a secure.example.com. I'm ...
0
votes
1answer
54 views
Ruby Passeger + Nginx or lighthttpi + fgci for shared hosting
I have set up a passenger + nginx setup and I plan to offer a free non-commercial hosting (or in fact on the fly deployment) for rack-based frameworks (e.g. camping, sinatra).
I am facing an "issue" ...
1
vote
1answer
131 views
Way to speed up load-balanced ssl using nginx?
So the setup for our website is 4 nodes running rails 3 and nginx 1 that all use the same GoDaddy certificate. Because we are a paid site, we have to maintain PCI-DSS compliance and thus have to use ...
7
votes
0answers
211 views
API Management Solutions
I'm currently building an API and am looking for a tool to allow me to monitor (in a GUI) and rate-limit usage. I've come across a few enterprise solutions including:
http://apigee.com/
...
1
vote
0answers
76 views
Error running phusion passenger in standalone mode
I'm trying to run standalone phusion passenger so that I can run different ruby rvm configurations on the same host. I already have ruby and passenger running fine on this host.
I am following the ...
1
vote
2answers
49 views
Cannot connect to domain despite successful pings
Pings to my domain name work, but I can't connect via http. I've been trying various methods for a week now, but haven't come up with anything that worked. Any idea what's causing this?
...
1
vote
1answer
99 views
How to make uploading large (more than 1MB) files work with nginx, rails and uploadify
I have problem with my production nginx configuration (on my development machine with mongrel everything works). My environment is: nginx as proxy, rainbows as backend running rails 3.1 application ...
0
votes
1answer
32 views
How do I stop IIS from sending minutely GET requests to my proxied mongrel server?
I have a rails application running on Windows Server 2008 running IIS7.5. I am using Application Request Routing to send requests to the Mongrel server via IIS (I didn't want to set it up like this ...
1
vote
1answer
60 views
Haproxy Slow Reload in DB Mode
Recently I started using great tool for load balancing - Haproxy.
There is only one disturbing thing that I cannot figure out how to deal with it.
We use haproxy for load balancing mysql traffic. ...
0
votes
0answers
149 views
Unable to serve assets with nginx
My rails app is in production, which means it wont serve assets through unicorn but has to serve assets directly from nginx.
the problem i'm getting is that i get cache: ... miss errors in my unicorn ...
0
votes
1answer
116 views
How should one configure nginx and Ubuntu 11.04 to handle a Rails app with lots of traffic?
My setup:
one EC2 m1.large instance (4ECUs, 2 cores, 7.5GM RAM)
Rails
Ubuntu 11.04 Natty
nginx (v1.05) and Passenger (v3.011)
MySQL 5.1.57 running on an Amazon RDS instance
I expect my site to get ...
1
vote
1answer
41 views
Rails showing files list and not running app
I followed this tutorial: http://railsapps.github.com/tutorial-rails-mongoid-devise.html
Running nginx via proxy on port 8000. You can see it here.
Why is it listing the files in the /public dir? ...
3
votes
2answers
102 views
Need to move a debian server from i686 to x86_64 architecture
I have a debian server that I need to move from one hosting provider to another. I don't really know how the old server was setup, all I know is that it's running a Ruby on Rails application with a ...
0
votes
1answer
127 views
Nginx and Unicorn on separate machines
I've got a pretty standard Rails application running with Unicorn and Nginx all on one box. I'd like to split off the application itself and have Nginx on one machine and Unicorn (with the Rails app) ...
0
votes
1answer
76 views
Mysterious Ruby processes on Rails server
I'm trying to chase a bug on a Rails site and I've noticed that there are recurring Ruby processes which are hogging CPU and won't go away. I'd like to suss out what's starting them and how to either ...
1
vote
1answer
58 views
Configure in Apache two Ruby on Rails apps in the same Server with same IP
I previously ran an two Ruby and Rails applications, one of them by using rails console command, the another one using Apache trough Phusion Passenger. Both applications ran in same IP, the only ...
0
votes
0answers
119 views
rails cap deploy unicorn issues
Trying to get rails app deployed. Everything is installed nginx, unicorn, setup.
Error Im getting:
[109.etc] env RAILS_ENV=production sh -c 'kill -s USR2 '\''cat /tmp/unicorn.pid'\'''
sh: ...
0
votes
1answer
46 views
Ruby on Rails/Passenger with Apache2 - setting up sub domains
I'm trying to configure Apache2 and mod_passenger so I can have one site at the root of the server example.com/ and another totally different rails instance at example.com/second.
My ...
2
votes
1answer
179 views
Optimal number of per CPU unicorn processes
We are running a Ruby on Rails web app under Unicorn. Our app is not strictly CPU bound (we have a dual Xeon E5645 system w/12 cores and a peak load average value is around 6). We started with 40 ...
1
vote
1answer
67 views
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 ...
1
vote
1answer
111 views
mysql2 gem not installing on CentOS 5.3
I'm trying to get the gem mysql2 installed on centOS5.3 but resulting in a conflict to mysql55.
Sometimes (not always) I can install mysql55 and mysql55-server but after that I need to install ...
0
votes
1answer
262 views
unicorn/rails server errors in production, but doesn't write to log or stderr
Where is my stack trace?
I have a small Rails 3.2 app that I am trying to get running under unicorn proxied to an Apache vhost on a Linode server. In development mode locally, and on the linode, it ...