Sha256: 782d7f4668a95d9bb7dec4d67af6f68639c513d3d1eac14e54db8e862f5cdefe

Contents?: true

Size: 881 Bytes

Versions: 7

Compression:

Stored size: 881 Bytes

Contents

#!/bin/sh
if ruby -e ''; then
	if ! ruby -rpassenger/native_support -e '' 2>/dev/null; then
		export RUBYLIB=/usr/lib/ruby/1.8
	fi
	passenger-install-apache2-module
	if ! ruby -rubygems -rfastthread -e '' 2>/dev/null; then
		echo
		echo
		echo "****** WARNING WARNING WARNING WARNING WARNING WARNING WARNING ******"
		echo
		echo "Passenger requires the Ruby library 'fastthread', which does not seem to be installed. Since there's no native package for it in the Debian repository, you must install it via RubyGems:"
		echo
		echo "  gem install fastthread"
		echo
		echo "Please install fastthread, otherwise Passenger won't work."
		echo
		echo "****** WARNING WARNING WARNING WARNING WARNING WARNING WARNING ******"
	fi
else
	echo "********* NOTE ***********"
	echo "Ruby doesn't seem to be installed. Please install Ruby and RubyGems, because Passenger needs them."
fi
exit 0

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
rockdog-passenger-0.0.1 debian/postinst
passenger-2.0.1 debian/postinst
passenger-2.0.3 debian/postinst
passenger-2.0.4 debian/postinst
passenger-2.0.2 debian/postinst
passenger-2.0.6 debian/postinst
passenger-2.0.5 debian/postinst