So I've installed multi-user rvm and Ruby 1.9.3. On top of that I've got rails, passenger and apache2 on my Ubuntu 12.10 machine. The apache2 web server works fine, but passenger won't serve my apps, and running passenger-status returns ERROR: Phusion Passenger doesn't seem to be running..
I want to host multiple Rails apps on a multiple server using sub-directories.
And have encountered some relative path problems.
I have made a symbolic link to the app's public directory and placed it in the /var/www/html directory,
var/www/html/
/test_app (symbolic link to the public folder of test_app)
and set apache as so
LoadModule passenger_module /usr/local/lib/ruby/gem
I´m running ISPConfig 3 and i have installed Ruby on Rails to my server.
I´ve followed these howtos, created user passenger (and added passenger ALL=(ALL) ALL to sudos) and installed RVM.
https://rvm.beginrescueend.com/rvm/install/
http://kris.me.uk/2011/10/28/rails-rvm-passenger-capistrano-git-apache.html
http://blog.bigrocksoftware.com/2011/01/07/rvm-nginx-passenger-rails-3/
I´ve put test Rai
When I run 'passenger-memory-stats' on my ubuntu server as root I get the following error :
-bash: passenger-memory-stats: command not found
If I run this command as a user ('deploy' in my case) I get the passenger results but I get the following warning:
*** WARNING: Please run this tool as root.
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 stop them or give them the resources they need to complete and get their work done.
Background: The server is Ubuntu 10.04 LTS. Ruby is 1.9.2-p290.
I have done the following in an attempt to host a Rails 3.2.3 application using Apache 2.2.21 and Passenger 3.0.13:
Installed gem Passenger
rvmsudo passenger-install-apache2-module
Added website info in /etc/apache2/extra/httpd-vhosts.conf
Added line to /etc/hosts (not sure if this was needed or not; not mentioned in Passenger documentation
Uncommented out the line in /etc/apache2/httpd.conf to
I have installed application called REDMINE on my localhost, using ruby on rails. It is accessible webrick script through localhost:3000, on my PC! Now I want to shift to apache2 passenger, I tried everything. Every possible link of redmine, but couldnt get it running through passenger!
My Puppet master is using Passenger to serve.
I'm trying to configure NginX, that was installed using passenger-install-nginx-module.
I edit /opt/nginx/conf/nginx.conf but there is no effect at all.
When I run passenger I do the following command:
sudo passenger start /home/ror/current -etest -p80 --user=ror
My px aux | grep nginx shows the following:
0:00 nginx: master process /var/lib/passenger-standalone/3.0.12-x86_64-ruby1.8.7-linux-