Skip to content

openstudio classic measure -s is broken (measure manager using classic CLI) in 3.8.0 #5212

@jmarrec

Description

@jmarrec

Issue overview

The measure manager in the classic CLI is broken in 3.8.0

Current Behavior

$ openstudio --version
3.8.0+f953b6fcaf
$ openstudio classic measure -s 8091
┌────────────────────────────────────────────────────────────────────────────────┐
│  The `classic` command is deprecated and will be removed in a future release   │
└────────────────────────────────────────────────────────────────────────────────┘
Error executing argv: ["measure", "-s", "8091"]
Error: cannot load such file -- webrick in eval:182:in `require'

Expected Behavior

It should work.

Possible Solution

webrick gem was removed from the standard library in Ruby 3. So it should be part of the openstudio-gems Gemfile. Or the classic subcommand should be removed.

https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/

The following libraries are no longer bundled gems or standard libraries. Install the corresponding gems to use these features.
sdbm, webrick, net-telnet, xmlrpc

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): all
  • Version of OpenStudio (if using an intermediate build, include SHA): 3.8.0

Context

Found in OpenStudioApplication at openstudiocoalition/OpenStudioApplication#714 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions