Hey guys,
I’m facing a issue when trying to install a gem ‘rubyzip’ on SU 2021.
Follow the console log:
Gem.install “rubyzip”
[#<Gem::Specification:0x000002327a28f150 @extension_dir=“C:/Users/Us\xFAario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Gems64/extensions/x64-mswin64-140/2.7.0/rubyzip-2.3.0”,
@full_gem_path=“C:/Users/Us\xFAario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Gems64/gems/rubyzip-2.3.0”,
@cache_file=nil,
@gems_dir=“C:/Users/Us\xFAario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Gems64/gems”,
@base_dir=“C:/Users/Us\xFAario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Gems64”,
@loaded_from=“C:/Users/Us\xFAario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Gems64/specifications/rubyzip-2.3.0.gemspec”,
@original_platform=“ruby”,
@installed_by_version=#<Gem::Version “3.1.2”>,
@autorequire=nil,
@date=2020-03-14 00:00:00 UTC,
@deion=nil,
@email=[“alex@simonov.me”],
@homepage=“GitHub - rubyzip/rubyzip: Official Rubyzip repository”,
@name=“rubyzip”,
@post_install_message=nil,
@signing_key=nil,
@summary=“rubyzip is a ruby module for reading and writing zip files”,
@version=#<Gem::Version “2.3.0”>,
@authors=[“Alexander Simonov”],
@bindir=“bin”, @cert_chain=,
@dependencies=[<Gem::Dependency type=:development name=“coveralls” requirements=“~> 0.7”>,
<Gem::Dependency type=:development name=“minitest” requirements=“~> 5.4”>,
<Gem::Dependency type=:development name=“pry” requirements=“~> 0.10”>,
<Gem::Dependency type=:development name=“rake” requirements=“~> 12.3, >= 12.3.3”>,
<Gem::Dependency type=:development name=“rubocop” requirements=“~> 0.79”>],
@executables=,
@extensions=,
@extra_rdoc_files=,
@files=[“README.md”, “Rakefile”, “TODO”, “lib/zip.rb”, “lib/zip/central_directory.rb”, “lib/zip/compressor.rb”, “lib/zip/constants.rb”, “lib/zip/crypto/decrypted_io.rb”, “lib/zip/crypto/encryption.rb”, “lib/zip/crypto/null_encryption.rb”, “lib/zip/crypto/traditional_encryption.rb”, “lib/zip/decompressor.rb”, “lib/zip/deflater.rb”, “lib/zip/dos_time.rb”, “lib/zip/entry.rb”, “lib/zip/entry_set.rb”, “lib/zip/errors.rb”, “lib/zip/extra_field.rb”, “lib/zip/extra_field/generic.rb”, “lib/zip/extra_field/ntfs.rb”, “lib/zip/extra_field/old_unix.rb”, “lib/zip/extra_field/universal_time.rb”, “lib/zip/extra_field/unix.rb”, “lib/zip/extra_field/zip64.rb”, “lib/zip/extra_field/zip64_placeholder.rb”, “lib/zip/file.rb”, “lib/zip/filesystem.rb”, “lib/zip/inflater.rb”, “lib/zip/input_stream.rb”, “lib/zip/ioextras.rb”, “lib/zip/ioextras/abstract_input_stream.rb”, “lib/zip/ioextras/abstract_output_stream.rb”, “lib/zip/null_compressor.rb”, “lib/zip/null_decompressor.rb”, “lib/zip/null_input_stream.rb”, “lib/zip/output_stream.rb”, “lib/zip/pass_thru_compressor.rb”, “lib/zip/pass_thru_decompressor.rb”, “lib/zip/streamable_directory.rb”, “lib/zip/streamable_stream.rb”, “lib/zip/version.rb”, “samples/example.rb”, “samples/example_filesystem.rb”, “samples/example_recursive.rb”, “samples/gtk_ruby_zip.rb”, “samples/qtzip.rb”, “samples/write_simple.rb”, “samples/zipfind.rb”], @licenses=[“BSD 2-Clause”],
@metadata={“bug_tracker_uri”=>“Issues · rubyzip/rubyzip · GitHub”,
“changelog_uri”=>“rubyzip/Changelog.md at v2.3.0 · rubyzip/rubyzip · GitHub”,
“documentation_uri”=>“File: README — Documentation for rubyzip (2.3.0)”,
“source_code_uri”=>“GitHub - rubyzip/rubyzip at v2.3.0”,
“wiki_uri”=>“Home · rubyzip/rubyzip Wiki · GitHub”}, @platform=“ruby”, @rdoc_options=, @require_paths=[“lib”], @required_ruby_version=#<Gem::Requirement:0x000002327a277528 @requirements=[[“>=”, #<Gem::Version “2.4”>]]>, @required_rubygems_version=#<Gem::Requirement:0x000002327a2770a0 @requirements=[[“>=”, #<Gem::Version “0”>]]>, @requirements=, @rubygems_version=“3.0.3”, @specification_version=4, @test_files=, @new_platform=“ruby”, @full_name=“rubyzip-2.3.0” rubyzip-2.3.0>]
after that, when I start SU the follow message shows:
Error on load file C:/Users/Usúario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/CollectionPlugin/CollectionPlugin.rb
Error: #<LoadError: cannot load such file – zip>
C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in require' C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in
require’
C:/Users/Usúario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/CollectionPlugin/CollectionPlugin.rb:33:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in
require’
C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in load' C:/Users/Usúario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/CollectionPlugin.rb:32:in
register_extension’
C:/Users/Usúario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/CollectionPlugin.rb:32:in <module:CriaPlugin>' C:/Users/Usúario/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/CollectionPlugin.rb:14:in
<top (required)>’
Has anyone had the same problem?
thank u guys!