Skip to content

Commit

Permalink
Make download_binaries_tests work on OS X: it's normal that helper-sc…
Browse files Browse the repository at this point in the history
…ripts/download_binaries/extconf.rb cannot find Ruby extensions for OS X
  • Loading branch information
FooBarWidget committed Jan 15, 2014
1 parent e9ce80e commit c7befff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration_tests/downloaded_binaries_tests.rb
Expand Up @@ -29,6 +29,7 @@
$LOAD_PATH.unshift("#{source_root}/lib")
require 'phusion_passenger'
PhusionPassenger.locate_directories
PhusionPassenger.require_passenger_lib 'platform_info/operating_system'
require 'tmpdir'
require 'fileutils'
require 'webrick'
Expand Down Expand Up @@ -132,7 +133,7 @@ def start_server(document_root)
File.rename("download_cache.old", "download_cache")
server.stop
end
end
end if PlatformInfo.os_name == "linux"

specify "helper-scripts/download_binaries/extconf.rb fails at downloading all necessary binaries if one of them does not exist" do
FileUtils.mkdir_p("server_root")
Expand Down

0 comments on commit c7befff

Please sign in to comment.