Questions tagged [mod-rails]
48 questions
3
votes
2 answers
mod_rails make: command not found
I'm setting up mod_rails on a Debian server but somehow something got screwed up (it wasn't me :P ).
gem install passenger
Building native extensions. This could take a while...
ERROR: Error installing passenger:
ERROR: Failed to build gem native…

kristian nissen
- 2,809
- 5
- 44
- 68
2
votes
1 answer
Remote debugging Rails application in Aptana Studio 3
My Rails development IDE is Aptana Studio 3.0.5, running on Windows.
The applications runs on Apache + ModRails (Phusion Passenger) on a separate CentOS Linux machine. I have both Rails 2.x and 3.x applications.
I would like to be able to use the…

haimg
- 4,547
- 35
- 47
2
votes
1 answer
phusion passenger mod_rails on apache hanging
I run Apache 2.2.3 with passenger 3.0.7 (on a prehistoric SLES11 linux).
when a request goes through passenger, it spawns the app process but then hangs forever as if no app could start up.
I tested with trivial hello world rack app, as well as a…

Viktor Trón
- 8,774
- 4
- 45
- 48
2
votes
2 answers
RoR 3, Passenger, Relative URLs, and helper methods such as root_url
I'm really struggling to understand the routing behaviour I'm seeing with a Rails 3 app as it relates to Passenger and routing helper methods. Here's a quick overview:
When a user registers for my site, one of the things I'd like to do is send out…

jazzypants
- 58
- 4
2
votes
1 answer
Does passenger not work with Rewrite rules in an .htaccess file?
I have a rewrite rule that only works when in a virtualhost context.
PassengerEnabled on
RewriteEngine on
RewriteRule ^/release-.+/(images|javascripts|stylesheets|system|assets)/(.*)$ /$1/$2 [L]
If I set PassengerEnabled off in the .htaccess file,…

deadkarma
- 3,144
- 2
- 17
- 19
2
votes
2 answers
VirtualHost problem with passenger (mod_rails)
I'm at my wit's end here with virtual hosting. I'm trying to install redmine and it works with the webrick test server, but when I tried to use passenger (mod_rails) to host and go to the address I specified when in the virtualhost part of my apache…

Jake
- 733
- 2
- 7
- 18
2
votes
1 answer
Rails Beta3 & PaperClip & Passenger Bundler::PathError
So I'm going around in circles with this - I'm using a fork of the Paperclip Rails gem to get it to work with Rails3. Works fine on my OSX box with Passenger. But on my server (CentOS 5) I get this this error:
git://github.com/lmumar/paperclip.git…

firecall
- 753
- 1
- 8
- 22
2
votes
2 answers
Configuring Rails CSS Caching with Passenger
I am using Passenger and Rails' :cache => true to cache all my css into one big file. Deploys are done via Capistrano.
Now sometimes(!), the mem-generated all.css file can't be found after the app is restarted (and I get an error in the…

Marcel Jackwerth
- 53,948
- 9
- 74
- 88
2
votes
1 answer
Passenger Error: cannot load such file -- rubygems/path_support
I am having a lot of trouble getting a VPS - Ubuntu 10.10 / Apache2 / Passenger environment working.
I have setup a virtual host "rails.mydomain.com" with the following file:
ServerName rails.mydomain.com
DocumentRoot…

Joel Grannas
- 2,016
- 2
- 24
- 46
1
vote
0 answers
Passenger And Apache 'Something Went Wrong' Error , Works in WEBRick
I am running Apache2 with Passenger and Rails. I am able to run my web app with 'rails s -e production' but Passenger will not run the app. It just gives the 500 error. The log is giving me the whole precompile error, but changing the config to…

Chase Higgins
- 39
- 1
- 5
1
vote
1 answer
Using mod_rails to host multiple apps under SSL, same domain
I'm trying to get multiple rails apps hosted under the same domain, but different directories. My configuration before attempting to host multiple apps (which works great), looks like this:
ServerName secure.mydomain.com
…
user75506
1
vote
4 answers
Is it ok to use different different OSes for production/development servers with Rails?
Say, I love Debian+mod_rails and run it on my laptop which is my development platform. Yet, I am deploying to a production server running Ubuntu+mod_rails.
Is it better in a long run if I install Ubuntu on my laptop or are the problems with…

mannicken
- 6,885
- 4
- 31
- 38
1
vote
1 answer
How to deploy multiple rails apps on one domain without symbolic links
According to the passenger documentation it is possible to deploy multiple rails apps on one domain by setting a central rails app and then link in other apps by creating symbolic links in the public directory of this app (and tell the webserver…

Philipp
- 26
- 2
1
vote
2 answers
Not able to upload in a passenger app behing apache
Am not able to upload a 8.4 MB file, in a passenger app behind apache. Transferring the same file via scp took 4.1 minutes.
Error backtrace:
[ pid=10222 file=ext/apache2/Hooks.cpp:727 time=2010-05-18
07:13:14.842 ]:
Unexpected error in…

deepak
- 7,230
- 5
- 24
- 26
1
vote
5 answers
Archiving an Entire Rails Site
I have a Ruby on Rails site that was only needed for a short period of time during which users added various objects to a mySQL database, commenting on them, associating themselves with them, etc. etc. etc.
The question is this: the site is no…

Pygmalion
- 692
- 5
- 19