Tagged Questions

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 ...

learn more… | top users | synonyms (1)

0
votes
1answer
15 views

Configuring Virtual Hosts - nginx and passenger phusion on Ubuntu

I was able to successfully configure nginx and passenger phusion. I now have the following configuration server {listen 80 server_name **sub1.example.com** root /home/user/app1/public } server ...
0
votes
3answers
67 views

How do I debug / fix my apache SSL setup?

The Goal: set up a server that can receive https and http requests from a domain, and forwarded to the rails app running on the server. The rails app is running on localhost:3002, and all attempts ...
0
votes
0answers
12 views

gem environment and $GEM_PATH not updating when using rvm

I'm trying to upgrade ruby and rails gem on a server with cPanel, to do this I installed rvm and I successfully installed different versions of ruby... great stuff! Having a problem though, the ...
2
votes
0answers
29 views

Problems installing Gitorious on Debian 6.0.4

i am trying to install Gitorious on latest Debian 6.0.4 but i am running into some problems and hope there is somebody out here who might be able to help. I followed this article: ...
0
votes
0answers
23 views

LoadError in Home#index “no such file to load — sass”

I'm getting the following error when i run my application with Apache (thru passenger gem) or Rails server: LoadError in Home#index Showing ...
0
votes
1answer
26 views

Rails application dying slowly on Mac Lion 10.7.2 with Phussion

I've asked this question over at stackoverflow, but I thought someone here might have insight as well. I've recently deployed my first Rails application on a Mac mini running Lion 10.7.2 with Apache ...
1
vote
1answer
18 views

Is removing ~/.rvm/ all I needed to perform a clean re-install

I have installed ruby and gems under ~/.rvm/, now I want to re-install all the stuffs agaain. Are there any modifications/links live outside of this folder? So, by just removing the folder ~/.rvm/ is ...
0
votes
1answer
35 views

Reset Linode root password

I've recently been put in charge of a Ubuntu server in the Linode platform. This webserver is running a production Rails application with a MySQL database. I need to ssh into it to download a copy ...
-2
votes
1answer
41 views

ROR Server capacity [decision of processor speed] [closed]

Hello gurus of serverfault. I'm asking you about help to decide which configuration of CPU I need to deploy client's project on his future dedicated server. First of all some words about project: it ...
0
votes
1answer
42 views

ModRails for Apache2 Setup: Failing to load?

I'm trying to perform a fresh install of Ruby on Rails running with Apache2/Passenger on Ubuntu. I was able to successfully install apache2, rvm, ruby, rails and passenger, the latter part following ...
0
votes
0answers
21 views

ruby or rvm ruby in Production web server

Currently our production server runs in system ruby. Passenger handles our rails apps. Should I move to handling my entire ruby stuff using rvm? What advantage can rvm give me in a production ...
1
vote
1answer
40 views

Is there an easy way to deploy a Rails 3.1 assets bundle to RackSpace CloudFiles

I recently built out a CDN using Amazons' S3 service and CloudFront. It is super easy to setup with the new assets management in rails 3.1. However, my other project has an established hosting on ...
1
vote
0answers
5 views

Getting bandwidth spent by user or by rails application on Ubuntu

I'm running multiple rails applications on AWS instance and I need to know how many bandwidth is each application using/wasting. Some of the applications are running with passenger over Apache2 some ...
1
vote
2answers
92 views

Purpose of putting haproxy / varinish behind nginx?

In some setup, I saw someone put haproxy / varinish behind nginx, and forward the requests to backend (e.g. Passenger) e.g. Nginx <---> HaProxy / Varinish <----> Passenger / Apache I never ...
0
votes
1answer
28 views

SSL rewrite rules for Nginx

I'm trying to redirect only certain requests to use ssl and not my whole site but I can't figure how to escape this redirect loop. Here's my server block where I tried using a location block to ...
0
votes
1answer
92 views

What do these Thin cache log entries mean?

I recently released a Rails 3.1 upgrade of my webapp. I power this app on an Unbuntu 10.04 VPS with Thin on the backend, Nginx on the front. To make my app work with the new Rails asset pipeline I ...
1
vote
0answers
117 views

Firefox and Chrome keeps forcing HTTPS on Rails app using nginx/Passenger

I've got a really weird problem here where every time I try to browse my Rails app in non-SSL mode Chrome (v16) and Firefox (v7) keeps forcing my website to be served in HTTPS. My Rails application ...
1
vote
2answers
57 views

How to run rails and LAMP simultaneously on ubuntu?

I just set up a virtual machine running Ubuntu Server, with a LAMP stack and OpenSSH installed. What now would be the best way to enable that server to run both rails and PHP applications? Would it ...
0
votes
1answer
114 views

Using Upstart to manage Unicorn w/ rbenv + bundler binstubs w/ ruby-local-exec shebang

Alright, this is melting my brain. It might have something to do with the fact that I don't understand Upstart as well as I should. Sorry in advance for the long question. I'm trying to use Upstart ...
0
votes
1answer
48 views

Apache 2, Passenger 3 and RVM setup

I want to setup a RoR server with Apache2 + Passenger3 + RVM, These are my configurations # Passenger Apache Integartion LoadModule passenger_module ...
0
votes
1answer
55 views

PHP, Rails 2 and Rails 3 on the same server, on production mode

I am setting up a new web server (ubuntu 10.04 LTS), I want to get run on production mode: PHP, Rails 2.3.X and Rails 3, and each one should be accessible from diferent path, ex: ...
-1
votes
1answer
62 views

What are the important differences in these setups for a newbie to manage rails applications

I'm learning Rails development and attempting to learn how to manage a server to host the rails applications I develop. I want to host each of them at distinct domain names. I know that server ...
1
vote
0answers
36 views

Passenger and ServerAlias not cooperating

I have a ruby application that runs on a server with multiple IP addresses and mutliple vhosts. Here is the configuration of the problematic virtual host: <VirtualHost 10.0.0.10:80> ...
0
votes
0answers
43 views

how to have wordpress at the root and passenger running rails in a subdir on dreamhost

I'm trying to set up wordpress on a domain with a rails app running on passenger in a subdirectory. I think I had it working for a second but now it's broken and I'm getting the passenger error screen ...
0
votes
1answer
130 views

Cron not able to find correct versions of ruby and bundler gem

I have cron running for rails application on EC2 instance, but it fails with error - /bin/bash: bundle: command not found if I run bundle command with ubuntu user or sudo user that works. I have ...
0
votes
0answers
21 views

Monit won't start ar_sendmail

I've got monit set up and running. It monitors and will restart Apache and Mysql fine, but won't do the same for ar_sendmail. If I start ar_sendmail, monit won't pick up that it's running even ...
0
votes
1answer
63 views

Why do I need to specify passenger_enabled twice?

I'm trying to set up my nginx.conf to use the asset pipeline in Rails 3.1. I'm using nginx 1.0.10 and Passenger 3.0.11. My nginx.conf looks like this: server { listen 80; server_name .example.com ...
0
votes
0answers
27 views

What is a good nginx setup permission/user wise?

I have a centos vps running Nginx under root, spawning processes as nobody. I created a user "deploy", who has a www directory to where, using ssh and capistrano, he will deploy rails applications. ...
0
votes
1answer
67 views

Setting up Passenger + Nginx on Arch

I'm trying to setup passenger and nginx on Arch, but I can't seem to get the nginx server to even start. I've followed the guide found here: ...
1
vote
1answer
56 views

Unclear with understanding of “cloud” services [closed]

I run a RoR/MySQL/Apache stack currently on a slicehost slice. We are coming out of beta within the next few weeks and im concerned with the scalability of the slice, in case we get big. Ive been ...
0
votes
0answers
50 views

Apache unexpectedly rises number of prefork processes (hosting rails apps via passenger)

Last week apache hanged up two times. If first time we were thinking more like "s**t happens", after second break we are bit worried. Both times after a restart everything was back to normal. So far ...
0
votes
1answer
49 views

NGINX - Two different rails apps under same domain

I have two different Rails (passenger) apps that I wan to host on one server: somehost.com/ <-- App #1 somehost.com/admin <--- App #2 Tried playing with the 'location' directive, but ...
0
votes
1answer
26 views

Apache Bench length failures

I am running Apache Bench against a Ruby on Rails XML-RPC web service that is running on Passenger via mod_passenger. All is fine when I run 1000 requests without concurrency. Bench indicates that ...
1
vote
1answer
192 views

Linode Debian + rvm + nginx + Unicorn kills master at boot or doesn't start unicorn

I'm a new Linode/Linux user running Debian 6. I'm trying to get my Unicorn server to start at boot, but for some reason it is not, and I'm not able to track down any error message. Nginx is starting ...
1
vote
2answers
49 views

What rights does /vol/www have on ubuntu web server?

We are deploying our rails app on a ubuntu 10.04 server. When cap deploy:setup, there is a error saying that: * executing "mkdir -p /vol/www/myapp /vol/www/myapp/releases /vol/www/myapp/shared ...
1
vote
0answers
12 views

Migrating a rails/rake application to a new server without resetting all passwords

I'm not much of a Rails guy, so this may be a no-brainer: We run Chili Project for project management in a mod-passenger environment, using MySQL for the database. We changed servers once in moving ...
0
votes
1answer
123 views

Ruby on Rails (Redmine) on Apache - 503 Error

I am running a Ruby on Rails application called Redmine. It's been working fine, but today it's giving a 503 Service Temporarily Unavailable error. (It was initially set up by an employee who is now ...
0
votes
0answers
43 views

Redmine-Plugin 'tagging' compatible with Redmine 1.2.2?

has anyone a hint if the tagging pluging shown on http://www.redmine.org/projects/redmine/wiki/Plugin_List#Tagging-plugin is compatible with Redmine 1.2.2? The Redmine-site says "Compatible with: ...
0
votes
1answer
92 views

How to install bundler gem on Hetzner server?

I am trying to install bundler using the following command: gem install bundler but recieve this error: ERROR: could not find gem bundler locally or in a repository Running command gem list ...
1
vote
2answers
126 views

Debian/Redmine: Upgrade multiple instances at once

I have multiple Redmine instances. Let's call them InstanceA and InstanceB. InstanceA and InstanceB share the same Redmine installation on Debian. Suppose I would want to install Redmine 1.3 on both ...
0
votes
1answer
106 views

Error installing nginx with passenger-install-nginx-module on ubuntu 11.10 & rails 3.1.0

Here is the error message from installing nginx with passenger-install- nginx-module (rvmsudo). The nginx is 1.0.6 installed under /opt/nginx (default). gem install passenger successfully prior. ...
0
votes
1answer
73 views

Solr connection refused error after java update on Mac OS X Lion

I recently updated Java for Mac OS X 10.7-Update 1. After that I recognized that in my local development application under Rails 3.0.10 with sunspot/solr the solr-server starts correctly 0:03.80 ...
0
votes
0answers
70 views

ArgumentError (invalid date) on redmine

Have installed redmine on ubuntu 10.04 LTS but when I add quotes or comments to an issue I get this error: ArgumentError (invalid date): /usr/local/lib/ruby/1.8/date.rb:752:in `civil' ...
0
votes
1answer
35 views

mod_rewrite rules for non-default page cache directory for Rails application with distinction between mobile directory and www directory

My Question is similar (almost the same) to another question asked here: but with a twist. Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to ...
0
votes
1answer
43 views

Which Ruby server for an app with lots of file uploads?

I'm currently building an application that will handle quite a lot of file uploads (images, so a few MB each). It'll also be handling mostly JSON requests on the frontend, behind a Javascript ...
0
votes
1answer
29 views

Certain requests fail when serving Rails apps through Apache using ProxyPass

before I start, I'm a developer, not a sysadmin (but due to size of the company I work for am having to take on this role as well), so apologies if I get anything stupid wrong. I'm trying to get a ...
0
votes
2answers
74 views

Curious about my database server setup

I'm a web developer by day but I haven't had as much server administration experience as I'd like. I'm working on some side projects which are hosted on a 512mb linode server. The main app that I'm ...
0
votes
0answers
102 views

Ubuntu Server/Gitorious/Apache webserver throwing 500 errors

I followed this tutorial I get a 500 error when trying to login or register. The gitorious error log is empty, but the httpd error log shows some things: Live at http://67.166.86.187/ Login: ...
2
votes
4answers
75 views

Really high load readings while the server seems indle

I was wondering if any of You encountered such an issue, that the reported load of the server is really high though none of the parameters seems to indicate that its busy at all. I would need to check ...
2
votes
0answers
41 views

Both virtualhosts pointing to same application. Apache, passenger, rails 3

A couple of months ago I set up a rails app using apache, passenger and virtualhost and I (eventually) got everything working fine. Now I am trying host another application on the same box. I've added ...

1 2 3 4 5 10