Skip to content

Commit

Permalink
Don't download native_support binary when not installed from an offic…
Browse files Browse the repository at this point in the history
…ial package
  • Loading branch information
FooBarWidget committed Aug 19, 2013
1 parent 325b3f2 commit 65e8a55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/phusion_passenger/native_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 65e8a55

Please sign in to comment.