diff --git a/DarwinPostFlight.sh.in b/DarwinPostFlight.sh.in index a5ea4282076..a185e215344 100644 --- a/DarwinPostFlight.sh.in +++ b/DarwinPostFlight.sh.in @@ -6,6 +6,9 @@ ruby_install_dir="$2/Applications/${CMAKE_PROJECT_NAME} ${OPENSTUDIO_VERSION}/Ru ln -sf "$2/Applications/${CMAKE_PROJECT_NAME} ${OPENSTUDIO_VERSION}/Ruby/openstudio.rb" /Library/Ruby/Site/ ln -sFf "$2/Applications/${CMAKE_PROJECT_NAME} ${OPENSTUDIO_VERSION}/Ruby/openstudio" /Library/Ruby/Site/ +#---------- Create Symbolic Links to the openstudio-standards gem ---------- +ln -sFf "$2/Applications/${CMAKE_PROJECT_NAME} ${OPENSTUDIO_VERSION}/ruby-2.0.0-aws-Darwin/lib/ruby/gems/2.0.0/gems/openstudio-standards-0.1.2" /Library/Ruby/Gems/2.0.0/gems/ +ln -sf "$2/Applications/${CMAKE_PROJECT_NAME} ${OPENSTUDIO_VERSION}/ruby-2.0.0-aws-Darwin/lib/ruby/gems/2.0.0/specifications/openstudio-standards-0.1.2.gemspec" /Library/Ruby/Gems/2.0.0/specifications/ #---------- Write a plugin-config.rb file for later installation ---------- # And put it in the install folder for later reuse by the user if needed diff --git a/dependencies/ruby/Gemfile b/dependencies/ruby/Gemfile index 20f72567655..8792ff6f179 100644 --- a/dependencies/ruby/Gemfile +++ b/dependencies/ruby/Gemfile @@ -7,4 +7,4 @@ gem 'test-unit', '= 2.0.0.0' # OpenStudio gem 'openstudio-aws', '~> 0.4.0.pre1' -gem 'openstudio-standards', '= 0.1.2' +gem 'openstudio-standards', '= 0.1.2' # Also update DarwinPostFlight.sh.in when updating gem version