Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot load such file -- zip #1859

Open
jmarrec opened this issue Dec 10, 2024 · 0 comments
Open

cannot load such file -- zip #1859

jmarrec opened this issue Dec 10, 2024 · 0 comments

Comments

@jmarrec
Copy link
Collaborator

jmarrec commented Dec 10, 2024

$ docker run -it --rm nrel/openstudio:3.9.0

Inside the docker:

$ gem install openstudio-standards
[...]
Installing ri documentation for openstudio-standards-0.7.0

$ irb

Inside irb

irb(main):001:0> require 'openstudio-standards'
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- zip (LoadError)
        from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'                                                  
        from /usr/local/lib/ruby/gems/3.2.0/gems/openstudio-standards-0.7.0/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb:4:in `<class:NECB2011>'
        from /usr/local/lib/ruby/gems/3.2.0/gems/openstudio-standards-0.7.0/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb:3:in `<top (required)>'
        from /usr/local/lib/ruby/gems/3.2.0/gems/openstudio-standards-0.7.0/lib/openstudio-standards.rb:106:in `require_relative'                      
        from /usr/local/lib/ruby/gems/3.2.0/gems/openstudio-standards-0.7.0/lib/openstudio-standards.rb:106:in `<module:OpenstudioStandards>'          
        from /usr/local/lib/ruby/gems/3.2.0/gems/openstudio-standards-0.7.0/lib/openstudio-standards.rb:5:in `<top (required)>'                        
        from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:159:in `require'                                                 
        from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:159:in `rescue in require'                                       
        from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:39:in `require'                                                  
        from (irb):1:in `<main>'                                                                                                                       
        from /usr/local/lib/ruby/gems/3.2.0/gems/irb-1.6.2/exe/irb:11:in `<top (required)>'                                                            
        from /usr/local/bin/irb:25:in `load'                                                                                                           
        from /usr/local/bin/irb:25:in `<main>'                                                                                                         
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- openstudio-standards (LoadError)    
	from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from (irb):1:in `<main>'
	from /usr/local/lib/ruby/gems/3.2.0/gems/irb-1.6.2/exe/irb:11:in `<top (required)>'
	from /usr/local/bin/irb:25:in `load'
	from /usr/local/bin/irb:25:in `<main>'

gem install zip fixes it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants