source 'http://rubygems.org' ruby '~> 2.7.0' # Local gems are useful when developing and integrating the various dependencies. # To favor the use of local gems, set the following environment variable: # Mac: export FAVOR_LOCAL_GEMS=1 # Windows: set FAVOR_LOCAL_GEMS=1 # Note that if allow_local is true, but the gem is not found locally, then it will # checkout the latest version (develop) from github. allow_local = ENV['FAVOR_LOCAL_GEMS'] # Uncomment the extension, core gems if you need to test local development versions. Otherwise # these are included in the model articulation and urbanopt gems # # if allow_local && File.exist?('../OpenStudio-extension-gem') # gem 'openstudio-extension', path: '../OpenStudio-extension-gem' # elsif allow_local # gem 'openstudio-extension', github: 'NREL/openstudio-extension-gem', branch: 'develop' # end # if allow_local && File.exist?('../urbanopt-core-gem') # gem 'urbanopt-core', path: '../../urbanopt-core-gem' # elsif allow_local # gem 'urbanopt-core', github: 'URBANopt/urbanopt-core-gem', branch: 'develop' # end # pin this dependency to avoid unicode_normalize error gem 'addressable', '2.8.1' # pin this dependency to avoid using racc dependency (which has native extensions) gem 'parser', '3.2.2.2' if allow_local && File.exist?('../openstudio-common-measures-gem') gem 'openstudio-common-measures', path: '../../openstudio-common-measures-gem' elsif allow_local gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: 'develop' else gem 'openstudio-common-measures', '~> 0.9.0' end if allow_local && File.exist?('../openstudio-model-articulation-gem') gem 'openstudio-model-articulation', path: '../openstudio-model-articulation-gem' elsif allow_local gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: 'develop' else gem 'openstudio-model-articulation', '~> 0.9.0' end if allow_local && File.exist?('../openstudio-load-flexibility-measures-gem') gem 'openstudio-load-flexibility-measures', path: '../openstudio-load-flexibility-measures-gem' elsif allow_local gem 'openstudio-load-flexibility-measures', github: 'NREL/openstudio-load-flexibility-measures-gem', branch: 'develop' else gem 'openstudio-load-flexibility-measures', '~> 0.8.0' end if allow_local && File.exist?('../openstudio-ee-gem') gem 'openstudio-ee', path: '../openstudio-ee-gem' elsif allow_local gem 'openstudio-ee', github: 'NREL/openstudio-ee-gem', branch: 'develop' else gem 'openstudio-ee', '~> 0.9.0' end if allow_local && File.exist?('../openstudio-calibration-gem') gem 'openstudio-calibration', path: '../openstudio-calibration-gem' elsif allow_local gem 'openstudio-calibration', github: 'NREL/openstudio-calibration-gem', branch: 'develop' else gem 'openstudio-calibration', '~> 0.9.0' end if allow_local && File.exist?('../../openstudio-geb') gem 'openstudio-geb', path: '../../../openstudio-geb-gem' elsif allow_local gem 'openstudio-geb', github: 'LBNL-ETA/openstudio-geb-gem', branch: 'master' else gem 'openstudio-geb', '~> 0.4.0' end if allow_local && File.exists?('../urbanopt-geojson-gem') gem 'urbanopt-geojson', path: '../../urbanopt-geojson-gem' elsif allow_local gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop' else gem 'urbanopt-geojson', '~> 0.11.1' end # NEVER put SCENARIO-GEM in this file...it will make all simulations fail due to the sqlite dependency # gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'develop' if allow_local && File.exist?('../urbanopt-reporting-gem') gem 'urbanopt-reporting', path: '../../urbanopt-reporting-gem' elsif allow_local gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop' else gem 'urbanopt-reporting', '~> 0.9.1' end