I recently a clean install of El Capitan on my Mac Mini Server. I also did a RVM implode command because of multiple types of errors when installing gems, including an issue with RubyGems 2.5.1 which I upgraded to 2.6.2. I'm in the process of reinstalling my gems and deploying them on my development server. Before the clean install I used the open source version 5.0.26 with Ruby 2.3.0 successfully. According to the messages passenger installed successfully as before in my gemset. I looked in the folder and saw the folder as before. However the first time I did a passenger-config restart-app . command I get a warning along with a message stating that the application is restarting. Now when I execute the command it does not restart. Here is an example.
[myrailsapp (master)]$ rake assets:clean && rake assets:precompile RAILS_ENV=production && passenger-config restart-app .
*** Cleaning stale instance directory /tmp/passenger.bhqjeUe
Warning: Operation not permitted @ rb_file_chown - /tmp/passenger.bhqjeUe/.
There are no Phusion Passenger-served applications running whose paths begin with '/Users/myuserid/Sites/myrailsapp'.
Here is my virtual host configuration. This configuration worked before.
<VirtualHost *:80>
ServerName www.mydomain.com
ServerAlias mydomain.com
PassengerAppRoot /Users/myuserid/Sites/myrailsapp/
PassengerRuby /Users/myuserid/.rvm/gems/ruby-2.3.0@mygemset/wrappers/ruby
DocumentRoot /Users/myuserid/Sites/myrailsapp/public
<Directory /Users/myuserid/Sites/myrailsapp/public>
AllowOverride all
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
Require all granted
</Directory>
</VirtualHost>
Here is my apache2
# Phusion Passenger
LoadModule passenger_module /Users/myuserid/.rvm/gems/ruby-2.3.0@ mygemset/gems/passenger-5.0.26/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /Users/myuserid/.rvm/gems/ruby-2.3.0@ mygemset/gems/passenger-5.0.26
PassengerDefaultRuby /Users/myuserid/.rvm/gems/ruby-2.3.0@mygemset/wrappers/ruby
</IfModule>
PassengerDebugLogFile /var/log/apache2/passenger_error_log
# Virtual hosts
Include /private/etc/apache2/extra/httpd-vhosts.conf
When I attempt to display the domains I get a 500 Internal Server Error. This is happening on all of my apps.
I have attached a section of my passenger log file. There is an error message saying that gbd is not installed and that I have to either install Xcode or the command line tools. I have already done that. When I try to install them again it tells me they are installed and to check Software Update.
--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phusion-passen...@googlegroups.com.
To post to this group, send email to phusion-...@googlegroups.com.
Visit this group at https://groups.google.com/group/phusion-passenger.
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/009cd5c5-f738-47f9-adb3-15e2ae4ce4c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Daniel,
I’m using Xcode 7.3. However I’m not sure if the problems started immediately after that upgrade or not. They probably did though since I installed Xcode 7.3 on 3/21. It appears that Passenger is using an old version of my virtual host file. That maybe happening because Apache is not working properly. I will try to restore the previous version of Xcode from my Time Machine backup and see if I continue to have the problem.