#122 Passenger in Development
Aug 11, 2008 | 7 minutes |
Tools
Tired of juggling multiple Rails apps around with script/server? See how to set up Passenger in development so each one has its own local domain name.
- Download:
- source codeProject Files in Zip (911 Bytes)
- mp4Full Size H.264 Video (14.4 MB)
- m4vSmaller H.264 Video (8.82 MB)
- webmFull Size VP8 Video (21.2 MB)
- ogvFull Size Theora Video (17.4 MB)
Hello.
I just installed passenger last night on a Ubuntu Dapper Box using the prepacked .deb from brightbox:
http://www.modrails.org/install.html
Installing without any problems - seems to work fine!
Great job guys, great job ryan!
I got as far as installing the pane, but it's giving me the following error message:
Can’t find the Phusion Passenger Apache module. Visit http://www.modrails.com for installation instructions.
Never mind, still mistake on my part, it's working now.
@riki
don't just say that you got it working. what did you do wrong? What was the fix? always give details since it could help someone else.
In your screencast you asked whether Windows is supported. Phusion Passenger intents to support all POSIX-compliant operating systems. That is, pretty much all operating systems in the world, except Microsoft Windows.
I'm having problems installing the gem:
Error installing passenger:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install passenger
can't find header files for ruby.
This also happened to me when I tried to install RedCloth, but why I ask, why?
Sorry for posting an unrelated question.
It turns out that you need the OS X developer tools installed in order to have the ruby header files.
Btw, great episode as always.
/Jess
I did try Passenger, however, I noticed it wasn't as fast as my current "Thin". Sounds like a really nice & easy way to quickly configure for hosting companies, but my question is regarding memory optimization when you have multiple virtual domains.
Maybe does not take as much memory at the begining since you run your a single Apache daemon and fork all the child processes, but I'm not sure how to compare with have Apache as a load balancer and multiple Thin servers oposite to let passenger to handle everything...
B. Keep doing the great job.
Hey guys,
Doing something similar on Windows PCS is just quite as simple. After you have installed apache you can do the following:
Open to: %SystemRoot%\system32\drivers\etc\ (using Run)
Edit your hosts file and add the domain you wish ie:
127.0.0.1 localhost
127.0.0.1 mysite1.local
127.0.0.1 mysite2.local
Then you can add the same apache directives as ryan did on his show:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName mysite.local
DocumentRoot "path/to/doc/root"
<directory "path/to/directory">
Order allow,deny
Allow from all
</directory>
</VirtualHost>
This is language agnostic, but if your working with rails, you can add the rails directives in the virtual host statement as well.
Samatar Osman
Thanks Ryan, great 'cast as usual!
I'm just wondering why I'm having to restart passenger every time I make even the most minute of changes to a controller, model or view. It's like some sort of caching is going on, but I don't remember ever setting it up. Any ideas?
just a heads up to anyone that is wondering if debugging (ruby-debug) is possible when using mod_rails in development:
http://duckpunching.com/?p=17
have yet to try it myself as i just installed passenger locally yesterday, but i see no reason that it shouldnt work.
Thank you for yet another great railscast. I have been wanting to check out Passenger for quite some time now and found this a perfect opportunity. I followed the instructions for OS X with the prefpane and everything went smoothly. However, when I navigate to site.local, I get a Forbidden/Access Denied error for everything on that site. I added an Allow from all to my httpd.conf for that directory but I still get the same error. Any ideas?
@Riki
How did you fix the error? I'm having the same problem but don't know what's wrong.
The prefpane just says:
Can’t find the Phusion Passenger Apache module. Visit http://www.modrails.com for installation instructions.
@Jess:
A potential fix: When you add the configuration code to your Apache configuration file, make sure you manually restart the server before installing the prefpane; as the prefpane might be asking Apache about it's configuration not checking the httpd.conf file itself.
I might be wrong!
I've been using passenger on my slicehost account for a couple of months now and it makes deployment much easier, especially when you have a couple of different sites that you want to have available for clients to check out when they have time, and don't want to set up a mongrel permanently. Because a site that isn't used for a while can take a little bit to start up again when someone hits the site (it's not long, but I deal with very non-technical people who sometimes freak out when something even seems slow) I will sometimes add a cron job to hit the site every minute and then just disable it when that's not as important anymore. Example cron job:
* * * * * wget -q --spider http://site.name.com/ >/dev/null 2>&1 > /dev/null
Even with the smallest slice they have I'm able to run a few sites and still have about 100 MB free most of the time, which would be hard with running mongrels for each one all the time.
@Carl: Great tip to improve the perceived start-up time!
@Dinooz: Passenger will use less memory than Thin if you use it in combination with Ruby Enterprise Edition. www.rubyenterpriseedition.com/comparisons.html has details, most notably the graphs at the bottom.
@Gavin Laking: Make sure you've set it to development environment, not production environment (the default).
@ Jess Olsen
I have an Apache Preference Pane for a second install of Apache, which was causing confusion.
I turned that off and made sure I edited the right config file. I also had to start File Sharing and then used terminal to start Apache, rather than the Apache Preference Pane.
@Gavin: Glad I could help.
In case anyone else has any questions about setting some of this sort of stuff up (passenger, Apache, etc) I've found the articles on slicehost to be quite helpful, and they are freely available to everyone here:
http://articles.slicehost.com/
They seem to update them pretty frequently and while they do have them broken down by OS (for the OS's most commonly installed on their hosting plans) many of them are just good articles and apply, with a little understanding, to most OS's.
sorry meant "web sharing" not file sharing.
I've been using Passenger for a number of months now, while it seems to work great. It always takes 5 - 10 seconds to return a response (on the first response) and then its lightning fast. I am running it only on a Xen guest so perhaps I need more memory. Its certainly encouraging to drop multiple mongrels in place of a small amount of apache tinkering :)
Hi
I also get the 403 error when trying to open the site in the browser.. Any clues how to handle this?
Ryan, check this out.
http://www.ronfgreen.net/articles/2008/06/03/passenger-and-virtualhostx
Anyone else getting "Preferences Error - Could not load Passenger preference pane." when trying to open the Passenger PrefPane?
Screenshot:
http://bit.ly/1m0dct
Manually setting things up works fine, so I don't think it's specific to the Passenger I'm using (2.0.3).
@Rob: check my response above for a way to combat that lag. Passenger will deallocate memory when processes are not used for a while and return that to the system (imagine with you had something that spawn Mongrels as needed for your app and then shut them down if they weren't used for a while, that's a simplification but basically accurate as I understand it). So if the site isn't used for a while you will have a short lag (5 to 10 seconds sounds about normal) the first time it is used after the last process is stopped (again, not perfectly accurate but close enough). If you create the cron job to have the box hit the site once a minute then there should always be one instance running (at least) and you should have that lag. The only exception, if you are running in production at least, if if you create a file in the rails_root/tmp directory called restart.txt (easiest way: use the command "touch tmp/restart.txt" if you are in the root of your rails app). In that case it will reload all the rails files the next time a request is made (and that text file will disappear).
Also getting Forbidden
@Carl: Thanks for the suggestions, I shall have a play. I made the assumption that Passenger worked in that way, but didn't know for sure. My setup is really only a test bed. For production servers that have a significant load I can't see this being a problem. We use nagios to monitor the site which would keep the Passenger processes going.
Very cool. Great screencast, I'll give this a try. Thanks Ryan.
For all those getting 403 forbidden, make sure these lines are specified in your apache config somewhere.
<directory "/path/to/app/public">
Order allow,deny
Allow from all
</directory>
You may need to move that path up a bit so it covers the full rails app instead of just public.
Also check the permissions on the files themselves to make sure apache can read them.
Don't forget to restart apache after changing the config.
@Luigi, are you running 10.5.2 or later? I think that's required to use the preference pane.
For those using VMWare to test sites in Windows, don't use 127.0.0.1 for the hostname resolution. Run "ifconfig vmnet8" and grab that address. That should be the same address that the VM gets for its gateway when you run it as shared (NAT) networking. For Parallels, it creates a NAT host-guest network in your Network preference pane, and you can use that address in that case. Don't forget to copy what you added to your Mac hosts file to your Windows hosts file, in /Windows/system32/drivers/etc/hosts.
Thanks to the link to that prefpane!
If you have apache2 with MacPorts installed. Than you have to do 2 extra things :
export APXS2=/opt/local/apache2/bin/apxs
export PATH=/opt/local/apache2/bin:$PATH
sudo passenger-install-apache2-module
Wonderful, I was really tired of starting my development apps every time I wanted to develop, this is so useful.
Thank you Ryan!
For those using non-Apple suppied Ruby, you might not have RubyCocoa installed, and will experience errors with the prefPane.
Eloy was kind enough to help me out, so check out his advice, before you bug him, like I did.
http://fingertips.lighthouseapp.com/projects/13022/tickets/4-nothing-happens-when-clicking
We have passenger running on both a ubuntu production server and debian production server and so far there have no issues. Thank you for the great tip about the prefpane, didn´t know about that one.
I'm getting this message when I try to access the application
"Seeing this instead of the website you expected?"
Everything else was fine.
For those worried about the start up lag in production, you can set the idle time to some value with the apache directive
PassengerPoolIdleTime <integer>
More info at http://www.modrails.org/documentation/Users%20guide.html#PassengerPoolIdleTime
I set this to some value like 15 minutes then I usually have site monitoring setup like pingdom or site24x7 which hit the site every 15 minutes and will keeps the process alive. That way at least one instance is always running. But others shutdown when not used.
The "Forbidden" errors are permission issues. Apache needs the Rails application directory and public directory to have at least 755 permissions. It also needs all directories in the path before the Rails application to have at least 711.
My problem was my Documents folder. My application was inside of this and it was not executable by anyone. I fixed it with the command:
chmod 711 ~/Documents
I also assume the log and tmp (plus all tmp subdirectories) need to be writeable, but I haven't verified that. I switched those to 777.
Hope that helps.
I have the same issue as Boza. Passenger seems to set up the routing correctly, but accessing the resulting URL in Safari loads a "Test Page for Apache Installation".
I haven't found a entry in /etc/apache2/httpd.conf that looks like it might cause this. Any ideas?
Sorry for the double entry but it turns out Jame's solution also worked for the test-page-problem. I have my rails projects in ~/Sites, so chmoding ~/Sites to 711 worked for me.
OH MAN!!
it was a message from the almighty himself, I just browsed to railscasts to search for such a topic... And what do ya know, top and center!!
So perfect!
thanks for the pref pane tip!
cheers
@James, thanks for that! It would explain why I didn't get the 403 error.
@Marc, Passenger spawns new instances of your Rails app on demand, as your site needs it. This way it is very efficient because it uses only the resources it needs. Also, according to the benchmarks, it is better on memory and performance than other servers when combined with Ruby Enterprise Edition. I highly recommend it.
As for load balancing across a cluster of machines, I don't know if Passenger does this. Anyone want to chime in?
@Ryan and @Marc
When it comes to clustering I believe it behaves pretty much the same way as if you were using Apache to run a PHP site, should you be any more familiar with that.
Just put a load balancer in front of 2 or more servers, each having it's own Apache + Passsenger.
Best regards.
fyi - if you have file fault on ... your home folder in /Users/yourname has tight permissions (700) which will prevent apache from reading your rails projects folder if it is there; fix/change it by doing "chmod 755 /Users/yourname" - worked for me, after hours of fighting with a somewhat generic "Forbidden"; also consider setting the Apache "Listen" directive to "Listen 127.0.0.1:80" to avoid somebody else in your subnet accessing your server/site
Thanks for the awesome screencast Ryan!
Just wanted to add a few comments, that you may or may not already know;
- You can also add applications by dragging the application folders onto the source list.
- You can easily edit the vhost configs by dragging applications from the source list onto, for instance, your text editor.
Keep up the good work!
Cheers,
Eloy Duran
Great screencast, Ryan!
Is there an easier way to set up subdomains using the Passenger Pref Pane, besides editing the hosts file manually?
Thanks,
-- Tim
@Tim, next episode is on subdomains and I'll mention a couple alternatives in the show notes. :)
On Ubuntu 8.04 I had the problem that static images and stylesheets were not being loaded.
To the set of directives Ryan provided
<directory "/Users/rbates/code/railscasts/public">
Order allow,deny
Allow from all
</directory>
I had to add two directives to make it work:
<directory "/Users/rbates/code/railscasts/public">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</directory>
(However, before I did that I checked that my permissions on /public and relatives were right like James Edward Gray II explained.)
Good luck!
For anyone getting: "Can’t find the Phusion Passenger Apache module" with the Passenger PrefPane...
Following Ryan's instructions and copying the three lines into the Apache config file, I *finally* realised that the lines in the show notes refer to passenger 2.0.2, whereas I have installed 2.0.3. A silly mistake, but I can't believe I'm the only one that fell for it!
Thanks for the great screencasts, Ryan! :-)
I have this setup and it is working properly, but I do have a problem:
if I go to a static site in my user's "Sites" folder (http://localhost/~username/static_site/), all the css stylesheet links are broken because of a routing error from the rails app which is running.
The top rails app in the Passenger pref pane runs as localhost, so I don't know how to get around that. Can anyone help?
I've done some mucking around in /etc/apache2/ but haven't had any luck... thanks!
So I might be over looking or just being a little paranoid here, but I'm having an issue with getting a site to run under Passenger, that runs perfect under Mongrel. When I access the site via Passenger I noticed that it's looking for Ruby here /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems, but I've actually installed Ruby here /usr/local/bin/ruby. When I run the app under mongrel (which uses /usr/local/bin/ruby) I don't have a problem. When when it looks in the other place it seems to have an issue with gems.
I know that one of the lines that you are supposed to put in the httpd.conf file goes to this /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems, so I'm wondering if I could just change that to this /usr/local/bin/ruby.
BTW, I'm running Leopard and compiled my own version vs using the pre-installed from Apple.
Any chance you could do a version of this that worked with both :80 and :443? One of the key reasons I want to use Passenger in development is so I can test things like ssl_only filters, which would otherwise require starting two servers and communicating between them.
To everyone getting the "Seeing this instead of the website you expected?" Type errors you need to set the NameVirtualHost directive (http://httpd.apache.org/docs/2.0/mod/core.html#namevirtualhost)
in a global part of the apache conf put:
NameVirtualHost *:80
and then the virtualhost sections should start with
<VirtualHost *:80>
ServerName example.local
…
If you want to run an app on port 80 and 443 I think this would work but I'm not sure
NameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80 *:443>
ServerName example.local
…
Try the apache docs if that doesn't work (http://httpd.apache.org/docs/2.0/vhosts/examples.html)
Besides just being uber cool, and super easy, I found one OUTSTANDING bonus for me. I no longer have to deploy an app just to see how it looks in IE (since I develop on FF on a Mac).
Now, I can just point my Windows computer to my dev computer's IP address, and Bam! there is the app, as rendered on any OS or browser I have set up. That is a real time saver in CSS development. I'm sure there are other ways of being able to see a development app in multi platforms/os's/browsers, but I have not found any, and this one works like a charm.
Thanks for the excellent screencast!
Ryan, awesome podcast! I've created a few helpful rake tasks to help out with using Passenger in development that those interested in this subject may want to look at:
http://github.com/qrush/attendant/tree/master
One solution for the 302 / forbidden error is to have apache run as your user instead of www
So change:
User www
Group www
to
User myusername
Group myusername
Also adding:
Listen 127.0.0.1:80
is a good security measure, it keeps Apache accessible only to your local machine.
On OS X 10.5 you could also add the hostname with the dscl utility (incase your /etc/hosts gets flushed after a reboot).
# Create hostname
dscl localhost -create /Local/Default/Hosts/railscasts.local IPAddress 127.0.0.1
# Delete hostname
dscl localhost -delete /Local/Default/Hosts/railscasts.local
# List hostname(s)
dscl localhost -list /Local/Default/Hosts
* Note: You might need to sudo this :)
Pref pane works awesome, issue i am having is that when i run the site through passsenger, my css seems to be missing.
Also, even though the selection is set to DEVELOPMENT, it seems to look for PRODUCTION DBs(on another app)
Any Ideas?
Ryan,
Excellent tutorial as usual. Passenger was a breeze to setup in Ubuntu with some minor tweaks to the paths that go in Apache's conf.
The guys who wrote Passenger did a fantastic job and installation is cake.
For those who are interested, SliceHost has a nice tutorial for Hardy: http://articles.slicehost.com/2008/5/1/ubuntu-hardy-mod_rails-installation
Hi,
after installing passenger on my local machine, it works fine :) thanks ryan.
but ... I had some PHP application on localhost that I was accessing like so: localhost/app.
when trying now I get a Routing error: No route matches "/app" with {:method=>:get}.
and don't now what to do, can some body help please.
thanks
a.
I've just been checking out ruby on rails. Looks nice but I think I would need this sort of thing for an efficient dev/testing framework, as I would not want to go live until I was confident in what was happening.
Thanks for the apache script.
Hi guys,
Any idea how to use 'debugger' with this type of setup in development?
Hi,
Wanted to let you guys know that there's a new version of the preference pane. v1.2
http://www.fngtps.com/2008/12/passenger-preference-pane-v1-2
Cheers,
Eloy
Love the Pref pane and the logging insight!
Great screencast! I have passenger up and running but when trying to use a scaffold out of the box I get errors on create, update, and destroy actions. Index and show work perfectly and I don't get these errors when running script/server. The error message starts out /!\ FAILSAFE /!\ Status: 500 Internal Server Error can't convert Symbol into String but it doesn't reference any line of code that I have written. You can see the entire trace at http://pastie.org/363327. Thanks in advance for any suggestions.
I have had trouble with setting up the passenger module (Ubuntu 8.10, apache2, passenger 2.0.6). I did get the 403 error (forbidden, don't have access). In a lot of forumentries there was mentioned it had to do with the permissions. I did solve it by changing the permissions on the var directory (chmod 755 -R /var). But then i get a error with mysqld.sock which somehow needed a 777 permission (chmod 777 -R /var/run). I don't know if this is a good solution because the permissions are messed up this way ...
For the forbidden access issue
You might wanna check your parents folders permissions, as apache is not running with your user permissions, parents folders of your application will at least need execution permission to pass through. Look at "man chmod" for further details on permission.
Hope this helps,
@Chris Barnes
I got the same error, do you have solved?
Hi,
very usefull tutorial. works *nearly* well in development and production.
I discovered one problem. My setup on the server (not local pc):
production: foo.com
development: foo.bar (my laptop is configured with /etc/hosts: 1.2.3.4 foo.bar.
works fine, but the caching of firefox or passenger (not sure which) leads to the result that a request to foo.bar delivers content from production database and visa versa. Depens which url I used before.
restarting apache and/or empty the firefox cache solves the problem. But it is still annoying.
Cheers -- jerik
Great screencast !
If you are developing on a LAN with several machines you can easily extend what Ryan showed here to the LAN by just modifying the Name servers configuration.
In my system I just edit the database for Bind/Named, bump the version number and reload Bind/Named and voila - the app is avail to all machines on the LAN.
And please set up your DNS system such that you have internal and external databases - otherwise exposure could be a bit too broad.
Also note that you can limit the exposure of the apps by using the Allow From directive like:
Allow from 10.1.0.0/255.255.0.0
Has anyone seen a head to head comparison between a Mongrel Cluster and using Phusion Passenger for deploying one or more apps.
Hey guys,
I got this to work with only one issue.
My development environment runs but its not reading my css file. I saw a comment about this issue earlier but I didn't see that a resolution had been posted. This was just after getting my development environment to work by chmoding my apps to 711.
Anyone have any ideas on how to fix?
The pref pane download link from the link in the show notes doesn't work anymore. Instead I went here http://www.fngtps.com/2008/12/passenger-preference-pane-v1-2
@Chris Barnes
Just installed ruby 1.9.1, passenger 2.2.4, rails 2.3.3 and have exactly same problem!
script/server is running fine, rails running fine, passenger runs fine untill I destroy, update or create then I get 500 errors. When using script/server and port 3000 no problems at all...
Anyone have this solved?
Has anyone else received a NoMemoryError using Passenger? Whenever I access any action it takes a while to load, finishing off with displaying a NoMemoryError. In Activity monitor, one of the `ruby` processes sky-rockets its memory usage from about 20MB to ~2 GB! It stays at 2GB until a second request is made. When another is made, the process uses up 20MB of memory for a second, and then jumps back up to 2GB. The only error message is "failed to allocate memory". The development log is at http://pastie.org/573432
It seems like the entire request is being processed, except for actually rendering the page. The views are written in ERB, although I do require haml for other views.
Everything was working fine with Passenger last time I used it. I've restarted Passenger several times, and have restarted my computer. Everything works fine when I use script/server. Anyone else having this issue?
Great screencast Ryan. Thank you.
I am unable to access my new vHosts ServerNames thru IE in Vista running in Parallels. Any insight on this or references would be greatly appreciated.
Thanks again
How can I share my passenger urls over web sharing. I'm working with someone on a webapp and I'd like them to be able to view it on their computer before it worked. They would put in my local ip (192.168.0.135:3000) and they could view the app. Is that possible now with passenger somehow? Thanks so much!!!
I think it is the same, edit apache's port for the virtual host if you want :3000, port :80 is just the main port so use http://192.168.0.135 without a port and it should go if it is not blocked by a firewall.
i recognize that this episode is a little old but since it's the #2 result for "403 passenger" i'd like to leave a note here. i've been pulling my hair out for hours trying to get passenger + nginx to give me my application instead of 403 forbidden. i thought it was a file system permissions problem but it wasn't. try this: http://pastie.org/860433
do:
touch tmp/always_restart.txt
to tell passenger to restart after every request if it becomes annoying to touch tmp/restart.txt during dev mode.
Ryan, great podcast there! Look fwd to many more.:D
How do you get it to work, if you map.root? As soon as I get rid of index.html in public and have a welcome controller & index file instead, I can't get it to work. With mongrel, it works. I'd like it to work with phusion passenger. (am in development at the moment) Any suggestion?
hanna
After 24 hours I found the cause of the problem. And since Ryan likes us to give something back :), here:
My ruby is in usr/local - am not using the mac one. when I did "passenger-install-appache2-module" my LoadModule instruction came up with "PassengerRuby /usr/local/bin/ruby"
Only when I changed that to the mac installation of ruby did everything fall into place.
LoadModule passenger_module /Users/XXXXXX/.gem/ruby/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so
PassengerRoot /Users/XXXXXX/.gem/ruby/1.8/gems/passenger-2.2.11
#PassengerRuby /usr/local/bin/ruby
PassengerRuby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
cheers, Daniela
@James Edward Gray II - Thanks that worked for me. I had my files stored inside ~/Documents which was not allowed to anyone. After chmoding it to 711, all good.
I couldn't get the ".local" shortcut to work in Lion. After some searching online (here: http://www.justincarmony.com/blog/2011/07/27/mac-os-x-lion-etc-hosts-bugs-and-dns-resolution/), it looks like the ".local" TLD is reserved by Bonjour and so weird things happen with those domains. Instead, per the articles's suggestion, I used ".dev" instead and everything works great!
Passenger does not work for Windows, Phusion says it will be unefficient and give a bad name to both them and rails. There are no plans to port to Windows, so people like me, are stuck with a Mongrel cluster. But, if anyone needs to know where Windows host files are, they are: C:\Windows\System32\drivers\etc and the files you edit are hosts and imhosts.sam. Linux supports it, so I would consider a dual-boot but the new version of Ubuntu seems to always screw up my Windows partition.
Does anyone know how integrate passenger with virtualhostx ?
Im using CentOS server through ssh, and ran:
sudo gem install passenger
rvmsudo passenger-install-apache2-module
Passenger stops installing on:
Command failed with status (): [g++ -Iext -Iext/common -Iext/libev -D_REENTRANT -I/usr/local/include -DHAS_TR1_UNORDERED_MAP -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o libout/common/libpassenger_common/ApplicationPool2/Implementation.o -c ext/common/ApplicationPool2/Implementation.cpp]
even after waiting for an hour no success, any idea what went wrong?
For anyone wondering, this can now be accomplished by typing
passenger start
from the root of your application.Thank you!