Skip to content

Conversation

@akihikodaki
Copy link

Requiring csv without adding it to gemspec on Ruby 3.3.0 results in an warning:

warning: csv was loaded from the standard library, but will no longer
be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile
or gemspec. Also contact author of winrm-fs-1.3.4 to add csv into its
gemspec.

Requiring csv without adding it to gemspec on Ruby 3.3.0 results in an
warning:
> warning: csv was loaded from the standard library, but will no longer
> be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile
> or gemspec. Also contact author of winrm-fs-1.3.4 to add csv into its
> gemspec.
@fwininger
Copy link
Contributor

@mwrock can you please merge this ?

@fwininger
Copy link
Contributor

/home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/rake-12.3.3/lib/rake.rb:33: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
/opt/hostedtoolcache/Ruby/3.4.7/x64/bin/ruby -I/home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.6/lib:/home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/rspec-support-3.13.6/lib /home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.6/exe/rspec --pattern spec/unit/\*_spec.rb --color -f documentation
/home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/logging-2.4.0/lib/logging.rb:10: warning: syslog was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0.
You can add syslog to your Gemfile or gemspec to silence this warning.
/home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/winrm-2.3.9/lib/winrm/psrp/fragment.rb:35: warning: redefining 'object_id' may cause serious problems
/home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/winrm-2.3.9/lib/winrm/psrp/message_fragmenter.rb:29: warning: redefining 'object_id' may cause serious problems
/home/runner/work/winrm-fs/winrm-fs/lib/winrm-fs.rb:19: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add logger to your Gemfile or gemspec to silence this warning.
/home/runner/work/winrm-fs/winrm-fs/lib/winrm-fs/core/file_transporter.rb:20: warning: benchmark was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add benchmark to your Gemfile or gemspec to silence this warning.
/home/runner/work/winrm-fs/winrm-fs/lib/winrm-fs/core/file_transporter.rb:21: warning: csv was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0.
You can add csv to your Gemfile or gemspec to silence this warning.

An error occurred while loading spec_helper. - Did you mean?
                    rspec ./spec/spec_helper.rb

Failure/Error: require 'csv' unless defined?(CSV)

LoadError:
  cannot load such file -- csv
# ./lib/winrm-fs/core/file_transporter.rb:21:in '<top (required)>'
# ./lib/winrm-fs/file_manager.rb:20:in 'Kernel#require_relative'
# ./lib/winrm-fs/file_manager.rb:20:in '<top (required)>'
# ./lib/winrm-fs.rb:22:in 'Kernel#require_relative'
# ./lib/winrm-fs.rb:22:in '<top (required)>'
# ./spec/spec_helper.rb:5:in '<top (required)>'
No examples found.
No examples found.


Finished in 0.00004 seconds (files took 0.7205 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

Finished in 0.00004 seconds (files took 0.7205 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples


/opt/hostedtoolcache/Ruby/3.4.7/x64/bin/ruby -I/home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.6/lib:/home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/rspec-support-3.13.6/lib /home/runner/work/winrm-fs/winrm-fs/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.6/exe/rspec --pattern spec/unit/\*_spec.rb --color -f documentation failed

@fwininger
Copy link
Contributor

Replace by #92

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants