Skip to content
Browse files

Don't download native_support binary when not installed from an offic…

…ial package
  • Loading branch information...
1 parent 325b3f2 commit 65e8a55e28e0ca06f2f6cddeaea4d676a610923b @FooBarWidget FooBarWidget committed Aug 19, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/phusion_passenger/native_support.rb
View
3 lib/phusion_passenger/native_support.rb
@@ -129,6 +129,9 @@ def load_from_home_dir
end
def download_binary_and_load
+ if !PhusionPassenger.installed_from_release_package?
+ return
+ end
if ENV['PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY'] == '0'
STDERR.puts "*** Phusion Passenger: PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY set, " +
"not downloading precompiled binary"

0 comments on commit 65e8a55

Please sign in to comment.
Something went wrong with that request. Please try again.