Skip to content

Commit

Permalink
Add loglevel --debug to replace --verbose flag
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyikuang committed Nov 8, 2023
1 parent 120e191 commit 14947a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN apt-get update && apt-get install -y \
# RUN apt-get install ca-certificates
# RUN curl -k -SLO https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.gz \

RUN curl -SLO https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.gz \
RUN curl -SLO -k https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.gz \
&& tar -xvzf ruby-2.7.2.tar.gz \
&& cd ruby-2.7.2 \
&& ./configure \
Expand All @@ -66,7 +66,7 @@ RUN bundle _${OS_BUNDLER_VERSION}_ install --path=gems --without=native_ext --jo
# Configure the bootdir & confirm that openstudio is able to load the bundled gem set in /var/gemdata
VOLUME /var/simdata/openstudio
WORKDIR /var/simdata/openstudio
RUN openstudio --bundle /var/oscli/Gemfile --bundle_path /var/oscli/gems --bundle_without native_ext openstudio_version
RUN openstudio --loglevel Trace --bundle /var/oscli/Gemfile --bundle_path /var/oscli/gems --bundle_without native_ext openstudio_version

# May need this for syscalls that do not have ext in path
RUN ln -s /usr/local/openstudio-${OPENSTUDIO_VERSION}${OPENSTUDIO_VERSION_EXT} /usr/local/openstudio-${OPENSTUDIO_VERSION}
Expand Down
4 changes: 2 additions & 2 deletions test/test_gemfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
rm -rf mygems
rm -f Gemfile.lock
bundle install --path mygems
openstudio --bundle Gemfile --bundle_path mygems test_gemfile.rb
openstudio --loglevel Trace --bundle Gemfile --bundle_path mygems test_gemfile.rb

rm -rf mygems
rm -f Gemfile-git.lock
bundle install --gemfile=Gemfile-git --path mygems
openstudio --bundle Gemfile-git --bundle_path mygems test_gemfile_git.rb
openstudio --loglevel Trace--bundle Gemfile-git --bundle_path mygems test_gemfile_git.rb

# rm -rf mygems
# rm -f Gemfile-native.lock
Expand Down

0 comments on commit 14947a2

Please sign in to comment.