Link Search Menu Expand Document

Troubleshooting Installation Errors

Bundler Installation Error

If you have a secure firewall that prevents bundler from installing properly, type the following into the command line:

gem sources -c
gem sources -a http://rubygems.org/

You will need to accept the reduced security of http compared to https

If installing bundler still doesn’t work, create a .gemrc file in your home directory:

type nul > C:\Users\<user_name>\.gemrc

Edit the new .gemrc file to contain:

:backtrace: false
:bulk_threshold: 1000
:sources:
- http://rubygems.org
:update_sources: true
:verbose: true
  • Now install bundler:
gem install bundler -v 2.1

Installing OpenStudio in Ubuntu < 18.04:

Manually install libpng12

  • If you get gdbm libs errors like the following, you need to create symlinks to the appropriate version (libgdbm.so.5 and libgdbm_compat.so.4):

      /usr/local/openstudio-3.0.0/bin/openstudio: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory
    

    or:

      /usr/local/openstudio-3.0.0/bin/openstudio: error while loading shared libraries: libgdbm_compat.so.3: cannot open shared object file: No such file or directory
    

URBANopt, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.