NREL/docker-openstudio

support --bundle and the Gemfile that ships w/OS

anyaelena opened this issue · 2 comments

ARG OS_BUNDLER_VERSION=1.14.4
RUN ruby -r openstudio -e "require 'openstudio'; puts OpenStudio.openStudioLongVersion" &&
gem install bundler -v $OS_BUNDLER_VERSION &&
bundle ${OS_BUNDLER_VERSION} install --gemfile=/usr/local/openstudio-${OPENSTUDIO_VERSION}/Ruby/Gemfile

from OSS CLI branch

also update test_gemfile to test w/the OS Gemfile