diff --git a/code/Rubygems.php b/code/Rubygems.php index 34bc45d..1582d91 100644 --- a/code/Rubygems.php +++ b/code/Rubygems.php @@ -95,7 +95,7 @@ protected static function _run($cmd, &$stdout, &$stderr) { public static function require_gem($gem, $version = null, $tryupdating = false) { // Check that ruby exists if (self::$ruby_ok === null) { - self::$ruby_ok = (bool)`which ruby`; + self::$ruby_ok = (bool)'which ruby'; } if (!self::$ruby_ok) {