diff --git a/openstudiocore/src/cli/openstudio_cli.rb b/openstudiocore/src/cli/openstudio_cli.rb index c484d27dbd5..2b774a96998 100644 --- a/openstudiocore/src/cli/openstudio_cli.rb +++ b/openstudiocore/src/cli/openstudio_cli.rb @@ -173,7 +173,7 @@ def base_dir end Gem::Specification.each do |spec| - if embedded_gems.index + if spec.gem_dir.chars.first == ':' spec.activate end end