Skip to content

Instantly share code, notes, and snippets.

@baconpat
Created November 14, 2011 13:17
Show Gist options
  • Save baconpat/1363930 to your computer and use it in GitHub Desktop.
Save baconpat/1363930 to your computer and use it in GitHub Desktop.
Exec a ruby script and clear the DYLD_LIBRARY_PATH from PHP
shell_exec("DYLD_LIBRARY_PATH='' && rvm 1.8.7 exec bundle exec ruby script.rb");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment