lib/phusion_passenger.rb in passenger-3.0.9 vs lib/phusion_passenger.rb in passenger-3.0.10

- old
+ new

@@ -1,7 +1,7 @@ # Phusion Passenger - http://www.modrails.com/ -# Copyright (c) 2010 Phusion +# Copyright (c) 2010, 2011 Phusion # # "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -23,13 +23,13 @@ module PhusionPassenger ###### Version numbers ###### # Phusion Passenger version number. Don't forget to edit ext/common/Constants.h too. - VERSION_STRING = '3.0.9' + VERSION_STRING = '3.0.10' - PREFERRED_NGINX_VERSION = '1.0.6' + PREFERRED_NGINX_VERSION = '1.0.10' PREFERRED_PCRE_VERSION = '8.12' STANDALONE_INTERFACE_VERSION = 1 ###### Directories ###### @@ -106,10 +106,10 @@ ###### Other resource locations ###### STANDALONE_BINARIES_URL_ROOT = "http://standalone-binaries.modrails.com" - if $LOAD_PATH.first != LIBDIR + if !$LOAD_PATH.include?(LIBDIR) $LOAD_PATH.unshift(LIBDIR) $LOAD_PATH.uniq! end end if !defined?(PhusionPassenger::LIBDIR)