openbsd-ports/www/ruby-passenger/patches/patch-bin_passenger-config
jeremy b43ac205b0 Update to 3.0.11. Support by the standalone version of passenger by
splitting into a multipackage, with a subpackage for the standalone
version (which embeds a version of nginx).  The standalone version
operates much like other ruby webservers, serving a single ruby/rack
application.

Switch to using the gem version of passenger.  Because the gem
installs into a versioned directory, setup symlinks to the
versioned directory so that nginx configuration files don't need
to be modified when the version is updated.
2011-12-13 18:38:17 +00:00

17 lines
466 B
Plaintext

$OpenBSD: patch-bin_passenger-config,v 1.1 2011/12/13 18:38:17 jeremy Exp $
Make sure that --root uses the location of the symlink, so it
doesn't change from version to version.
--- bin/passenger-config.orig Thu Dec 1 07:30:31 2011
+++ bin/passenger-config Thu Dec 1 07:30:53 2011
@@ -37,7 +37,7 @@ end
case ARGV[0]
when "--root"
- puts PhusionPassenger::SOURCE_ROOT
+ puts '${PASSENGER_ROOT}'
when "--version"
puts PhusionPassenger::VERSION_STRING
else