Tagged Questions

1
vote
3answers
48 views

java max heap size, how much is too much

I'm having issues with a JRuby (rails) app running in tomcat. Occasionally page requests can take up to a minute to return (even though the rails logs processed the request in seconds so it's …
0
votes
4answers
41 views

Redirect folder to different server

Just for clarity, I already posted this on StackOverflow and got advice that this better fits in ServerFault.com so here goes: I know you can redirect subdomains to a different server, but can you do …
1
vote
3answers
51 views

Is it possible to use custom script for authentication with PAM?

I want to enable users to use my rails application's credentials for login to sftp account. If I understand correctly I should somehow use PAM for this. But I didn't find any info on how to do this?
0
votes
1answer
30 views

How do I combine two SSL-enabled servers in one Apache instance?

I have two different sites, foo.com and bar.com, each running on a different (virtual) machine. Each has an SSL-enabled Ruby-on-Rails site running as follows: # …
0
votes
0answers
15 views

Can a typical shared host serve both Django & RoR simultaneously?

I'm going to be building two independent applications (one on Django, and one on Rails). I was wondering whether it's reasonable to expect a shared host to be able to do both simultaneously. (Like, …
0
votes
1answer
25 views

upgrade Ruby 1.8.6 to Ruby 1.8.7 patch -level 72

Hi When i try to run application server like ruby script/server It says /usr/lib/ruby/1.8/openssl/cipher.rb:22: Cipher is not a module (TypeError). So followed the steps given in the following link …
0
votes
1answer
31 views

How to ser GEM_PATH for www-data user Ubuntu/Debian

Hi, I have mod_rails and Ruby Enterprise edition. I have an error the the process spawner cannot find the fastthread gem. The problem is that the gem is installed by passenger is looking into the gem …
0
votes
5answers
85 views

Is there a RoR hosting site that I can pay by month?

I need RoR hosting, but all the hosting solutions only allow payments by the year. I need a payment plan that is every month, or even every 4-5, but not a whole year.
0
votes
1answer
50 views

Passenger: mod_rewrite rules for non-default page cache directory for Rails application

Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to use a non-default location for the page cache within a Rails application? I'd like the cached files …
0
votes
2answers
51 views

Ubuntu Slow Server Response; Initial Load; RoR

Hey guys, I have a rails app sitting on an Ubuntu 9.10 server located here: http://sandbox.incolo.com If you hit it initially, it takes about 4 seconds to do its initial load. Once the load has …
0
votes
1answer
53 views

OpenSSL support for Ruby: “Cipher is not a module (TypeError)”

The Problem Our systems admin needed to upgrade the packages on our CentOS 5.4 dev server to match the packages on our production server. The upgrade affected ruby and/or openssl. We run a Ruby on …
2
votes
3answers
68 views

Static subdomains (used as asset hosts) sometimes are slow or don’t work

My setup: Dedicated server, Running my own DNS server, Apache 2, A Ruby on Rails App running on Phusion Passenger 2.2.9, using rail's dynamic asset host generator that fetches assets using these …
3
votes
3answers
52 views

First steps in scaling servers up for a Ruby on Rails application.

Hi, I'm running a RoR web application on a dual core AMD Athlon 4450e server w/ 8GB RAM and Ubuntu. It's doing alright, getting spikes up to 320 dynamic requests per minute, it's also handling all …
3
votes
2answers
209 views

What should my Nginx rewrite rules be for Rails with Passenger for page caching in a subdirectory?

I'm using Nginx 0.7.64, Passenger 2.2.9, Rails 2.3.5. I have my page caching directory set to /public/cache, and I'd like to be able to serve cached pages when requested over HTTP, but always hit the …
0
votes
2answers
35 views

Deploy RoR on Apache 1.3 without admin permissions

At work I have a SuSE 7.3 running Apache 1.3.20, which I don't have admin access to. I'd like to deploy Ruby on Rails with no or very little work for the admins. I need the service to keep running …

1 2 3 4
15 30 50 per page