Skip to content

Instantly share code, notes, and snippets.

@FooBarWidget
Last active December 27, 2015 04:09
Show Gist options
  • Save FooBarWidget/7265260 to your computer and use it in GitHub Desktop.
Save FooBarWidget/7265260 to your computer and use it in GitHub Desktop.
# Save the file inside the Passenger source dir and run: ruby file.rb
$LOAD_PATH.unshift(File.expand_path("lib"))
require 'phusion_passenger/platform_info'
p PhusionPassenger::PlatformInfo.find_command("cc", false)
p File::SEPARATOR
p ENV["PATH"]
p File.file?("/usr/bin/gcc")
p File.executable?("/usr/bin/gcc")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment