Skip to content

Instantly share code, notes, and snippets.

Olivier Delbos odelbos

Block or report user

Report or block odelbos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:ca6cca23c51bae60cb12
Verifying that +odelbos is my blockchain ID. https://onename.com/odelbos
@odelbos
odelbos / test_rvm _ruby_shell_exec.php
Created Mar 12, 2017
Select rvm ruby version in php shell_exec function
View test_rvm _ruby_shell_exec.php
<?php
$RUBY_CMD = 'source "$HOME/.rvm/scripts/rvm"; $HOME/.rvm/wrappers/ruby-2.3.1p112/ruby';
$output = shell_exec("$RUBY_CMD ./my_ruby_script.rb");
You can’t perform that action at this time.