Created
November 14, 2011 13:17
-
-
Save baconpat/1363930 to your computer and use it in GitHub Desktop.
Exec a ruby script and clear the DYLD_LIBRARY_PATH from PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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