#sorbet
#шербет #sorbet
Вопрос:
Я не могу работать bundle exec srb init
в существующем проекте Rails. Первые ошибки, которые я вижу, — это ошибки загрузки для драгоценных камней, и оттуда все идет под откос.
Это более крупный проект, который существует уже несколько лет. Я полагаю, что он начался на Rails 4.2 и был обновлен до 6. Мне удалось запустить sorbet с небольшими, более молодыми проектами, и я не уверен, с чего начать поиск проблем с этим.
Вывод терминала:
Would you like to continue? [Y/n]
Generating: sorbet/config
Generating: sorbet/rbi/sorbet-typed/
Generating: sorbet/rbi/gems/
W, [2020-09-25T11:24:07.658621 #91284] WARN -- : Cumulus::Company: overriding method 'may_queue?'!
W, [2020-09-25T11:24:07.658719 #91284] WARN -- : Cumulus::Company: overriding method 'queue!'!
W, [2020-09-25T11:24:07.658761 #91284] WARN -- : Cumulus::Company: overriding method 'queue'!
W, [2020-09-25T11:24:07.658930 #91284] WARN -- : Cumulus::Company: overriding method 'may_start?'!
W, [2020-09-25T11:24:07.658992 #91284] WARN -- : Cumulus::Company: overriding method 'start!'!
W, [2020-09-25T11:24:07.659101 #91284] WARN -- : Cumulus::Company: overriding method 'start'!
W, [2020-09-25T11:24:07.659294 #91284] WARN -- : Cumulus::Company: overriding method 'may_done?'!
W, [2020-09-25T11:24:07.659340 #91284] WARN -- : Cumulus::Company: overriding method 'done!'!
W, [2020-09-25T11:24:07.659542 #91284] WARN -- : Cumulus::Company: overriding method 'done'!
W, [2020-09-25T11:24:07.659791 #91284] WARN -- : Cumulus::Company: overriding method 'may_error?'!
W, [2020-09-25T11:24:07.659842 #91284] WARN -- : Cumulus::Company: overriding method 'error!'!
W, [2020-09-25T11:24:07.659884 #91284] WARN -- : Cumulus::Company: overriding method 'error'!
W, [2020-09-25T11:24:07.661010 #91284] WARN -- : Cumulus::Company: overriding method 'may_queue?'!
W, [2020-09-25T11:24:07.661075 #91284] WARN -- : Cumulus::Company: overriding method 'queue!'!
W, [2020-09-25T11:24:07.661121 #91284] WARN -- : Cumulus::Company: overriding method 'queue'!
W, [2020-09-25T11:24:07.661496 #91284] WARN -- : Cumulus::Company: overriding method 'may_start?'!
W, [2020-09-25T11:24:07.661552 #91284] WARN -- : Cumulus::Company: overriding method 'start!'!
W, [2020-09-25T11:24:07.661597 #91284] WARN -- : Cumulus::Company: overriding method 'start'!
W, [2020-09-25T11:24:07.661796 #91284] WARN -- : Cumulus::Company: overriding method 'may_done?'!
W, [2020-09-25T11:24:07.661851 #91284] WARN -- : Cumulus::Company: overriding method 'done!'!
W, [2020-09-25T11:24:07.661896 #91284] WARN -- : Cumulus::Company: overriding method 'done'!
W, [2020-09-25T11:24:07.662141 #91284] WARN -- : Cumulus::Company: overriding method 'may_error?'!
W, [2020-09-25T11:24:07.662218 #91284] WARN -- : Cumulus::Company: overriding method 'error!'!
W, [2020-09-25T11:24:07.662286 #91284] WARN -- : Cumulus::Company: overriding method 'error'!
LoadError: cannot load such file -- action_controller/middleware
LoadError: cannot load such file -- activerecord-postgres_enum
LoadError: cannot load such file -- image_processing
LoadError: cannot load such file -- archive-zip
LoadError: cannot load such file -- aws-sdk
LoadError: cannot load such file -- babel-source
LoadError: cannot load such file -- bundle-audit
LoadError: cannot load such file -- capistrano-harrow
LoadError: cannot load such file -- chromedriver-helper
LoadError: cannot load such file -- debase-ruby_core_source
LoadError: cannot load such file -- fog-core
LoadError: cannot load such file -- fog-json
LoadError: cannot load such file -- fog-xml
LoadError: cannot load such file -- guard-compat
LoadError: cannot load such file -- guard-livereload
LoadError: cannot load such file -- guard-minitest
LoadError: cannot load such file -- mechanize
LoadError: cannot load such file -- minitest-reporters
LoadError: cannot load such file -- webrobots
LoadError: cannot load such file -- passenger
LoadError: cannot load such file -- rack/session/dalli
LoadError: cannot load such file -- rack-contrib
LoadError: cannot load such file -- railties
LoadError: Function 'inotify_init' not found in [libc.dylib]
NameError: uninitialized constant Selenium::WebDriver::Chrome::Driver
Did you mean? Selenium::WebDriver::Driver
LoadError: cannot load such file -- skylight-core
LoadError: cannot load such file -- sorbet
LoadError: cannot load such file -- sorbet-static
LoadError: cannot load such file -- spring
LoadError: cannot load such file -- spring-watcher-listen
LoadError: cannot load such file -- sprockets-es6
LoadError: cannot load such file -- sprockets-rails
LoadError: cannot load such file -- turbolinks-source
LoadError: cannot load such file -- wkhtmltopdf-binary
[892/1192] require_relative './db/migrate/20190204160125_fix_fks_on_deprecated_tables.rb'/Users/rrosen/projects/verite-app/db/migrate/20190204160125_fix_fks_on_deprecated_tables.rb:20: warning: key :on_delete is duplicated and overwritten on line 20
/Users/rrosen/projects/verite-app/db/migrate/20190204160125_fix_fks_on_deprecated_tables.rb:22: warning: key :on_delete is duplicated and overwritten on line 22
[1032/1192] require_relative './scripts/export_risk_descriptions.rb'Document(s) Not Attested
Question unanswered
[1188/1192] require_relative './test/test_helper.rb'rails aborted!
NoMethodError: undefined method `id' for nil:NilClass
/Users/rrosen/projects/verite-app/spec/factories/employer_nominations.rb:9:in `block (2 levels) in <top (required)>'
/Users/rrosen/projects/verite-app/spec/factories/employer_nominations.rb:2:in `block in <top (required)>'
/Users/rrosen/projects/verite-app/spec/factories/employer_nominations.rb:1:in `<top (required)>'
/Users/rrosen/projects/verite-app/config/environment.rb:5:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Tasks: TOP => db:test:prepare => db:load_config => environment
(See full trace by running task with --trace)
Generating: sorbet/rbi/hidden-definitions/
Requiring all of your code
Naming all Modules
Naming ObjectThe PGconn, PGresult, and PGError constants are deprecated, and will be
removed as of version 1.0.
You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
Called from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/real_stdlib.rb:77:in `const_get'
Naming ActionCable::ServerGot NameError when trying to get nested name ActionCable::Server::ActiveRecordConnectionManagement_
Naming ActionControllerGot LoadError when trying to get nested name ActionController::Middleware
Naming ActionDispatchGot Gem::LoadError when trying to get nested name ActionDispatch::SystemTestCase
Naming ActionDispatch::SessionYou don't have dalli installed in your application. Please add it to your Gemfile and run bundle install
Got LoadError when trying to get nested name ActionDispatch::Session::MemCacheStore
Naming ActiveJob::QueueAdaptersGot LoadError when trying to get nested name ActiveJob::QueueAdapters::ResqueAdapter
Got LoadError when trying to get nested name ActiveJob::QueueAdapters::SneakersAdapter
Got LoadError when trying to get nested name ActiveJob::QueueAdapters::SuckerPunchAdapter
Got LoadError when trying to get nested name ActiveJob::QueueAdapters::BackburnerAdapter
Got LoadError when trying to get nested name ActiveJob::QueueAdapters::DelayedJobAdapter
Got LoadError when trying to get nested name ActiveJob::QueueAdapters::QueAdapter
Got LoadError when trying to get nested name ActiveJob::QueueAdapters::QueueClassicAdapter
Naming ActiveRecordGot NameError when trying to get nested name ActiveRecord::DatabaseSelector_
Naming ActiveStorage::TransformersGot LoadError when trying to get nested name ActiveStorage::Transformers::ImageProcessingTransformer
Got LoadError when trying to get nested name ActiveStorage::Transformers::MiniMagickTransformer
Naming ActiveSupport::CacheYou don't have dalli installed in your application. Please add it to your Gemfile and run bundle install
Got LoadError when trying to get nested name ActiveSupport::Cache::MemCacheStore
Naming DeviseCould not load 'omniauth'. Please ensure you have the omniauth gem >= 1.0.0 installed and listed in your Gemfile.
Got LoadError when trying to get nested name Devise::OmniAuth
Naming Devise::ModelsCould not load 'omniauth'. Please ensure you have the omniauth gem >= 1.0.0 installed and listed in your Gemfile.
Got LoadError when trying to get nested name Devise::Models::Omniauthable
Naming EventMachine::DeferrableEM::Deferrable::Pool is deprecated, please use EM::Pool
Naming EventMachine::ProtocolsGot LoadError when trying to get nested name EventMachine::Protocols::Postgres3
Naming ExceptionNotifierGot LoadError when trying to get nested name ExceptionNotifier::GoogleChatNotifier
Got LoadError when trying to get nested name ExceptionNotifier::MattermostNotifier
Naming I18n::TestsGot ArgumentError when trying to get nested name I18n::Tests::Pluralization_
Got ArgumentError when trying to get nested name I18n::Tests::Procs_
Got ArgumentError when trying to get nested name I18n::Tests::Lookup_
Got ArgumentError when trying to get nested name I18n::Tests::Basics_
Got ArgumentError when trying to get nested name I18n::Tests::Defaults_
Got ArgumentError when trying to get nested name I18n::Tests::Interpolation_
Got ArgumentError when trying to get nested name I18n::Tests::Link_
Naming I18n::Tests::LocalizationGot ArgumentError when trying to get nested name I18n::Tests::Localization::Time_
Got ArgumentError when trying to get nested name I18n::Tests::Localization::Date_
Got ArgumentError when trying to get nested name I18n::Tests::Localization::DateTime_
Got ArgumentError when trying to get nested name I18n::Tests::Localization::Procs_
Naming Loofah::HTML5/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/real_stdlib.rb:77: warning: constant Loofah::HTML5::WhiteList is deprecated
Naming Rack::HandlerGot LoadError when trying to get nested name Rack::Handler::FastCGI
Got LoadError when trying to get nested name Rack::Handler::LSWS
Got LoadError when trying to get nested name Rack::Handler::SCGI
Got LoadError when trying to get nested name Rack::Handler::Thin
Naming Rack::Request/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/real_stdlib.rb:77: warning: constant Rack::Request::SCHEME_WHITELIST is deprecated
Naming Rack::SessionGot LoadError when trying to get nested name Rack::Session::Memcache
Naming Rails::ApplicationGot NameError when trying to get nested name Rails::Application::Railties_
Naming Solargraph/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/parser/ruby/legacy/irb/slex.rb:18: warning: already initialized constant IRB::SLex::DOUT
/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/2.5.0/irb/slex.rb:24: warning: previous definition of DOUT was here
/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/parser/ruby/legacy/irb/slex.rb:19: warning: already initialized constant IRB::SLex::D_WARN
/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/2.5.0/irb/slex.rb:25: warning: previous definition of D_WARN was here
/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/parser/ruby/legacy/irb/slex.rb:20: warning: already initialized constant IRB::SLex::D_DEBUG
/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/2.5.0/irb/slex.rb:26: warning: previous definition of D_DEBUG was here
/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/parser/ruby/legacy/irb/slex.rb:21: warning: already initialized constant IRB::SLex::D_DETAIL
/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/2.5.0/irb/slex.rb:27: warning: previous definition of D_DETAIL was here
Naming Solargraph::LanguageServer::Message::TextDocumentGot LoadError when trying to get nested name Solargraph::LanguageServer::Message::TextDocument::DiagnosticsQueue
Naming Solargraph::SourceGot LoadError when trying to get nested name Solargraph::Source::Mapper
Naming Solargraph::SourceMap::NodeProcessorGot LoadError when trying to get nested name Solargraph::SourceMap::NodeProcessor::ModuleNode
Naming Sprockets::AutoloadGot LoadError when trying to get nested name Sprockets::Autoload::Eco
Got LoadError when trying to get nested name Sprockets::Autoload::EJS
Got LoadError when trying to get nested name Sprockets::Autoload::YUI
Got LoadError when trying to get nested name Sprockets::Autoload::Closure
Naming ThreadSafeGot LoadError when trying to get nested name ThreadSafe::JRubyCacheBackend
Naming TiltGot LoadError when trying to get nested name Tilt::BlueClothTemplate
Got LoadError when trying to get nested name Tilt::KramdownTemplate
Got LoadError when trying to get nested name Tilt::RDiscountTemplate
Got LoadError when trying to get nested name Tilt::RedcarpetTemplate
Got LoadError when trying to get nested name Tilt::CommonMarkerTemplate
Got LoadError when trying to get nested name Tilt::PandocTemplate
Got LoadError when trying to get nested name Tilt::AsciidoctorTemplate
Got LoadError when trying to get nested name Tilt::CreoleTemplate
Got LoadError when trying to get nested name Tilt::LessTemplate
Got LoadError when trying to get nested name Tilt::LiquidTemplate
Got LoadError when trying to get nested name Tilt::LiveScriptTemplate
Got LoadError when trying to get nested name Tilt::PrawnTemplate
Got LoadError when trying to get nested name Tilt::RadiusTemplate
Got LoadError when trying to get nested name Tilt::RedClothTemplate
Got LoadError when trying to get nested name Tilt::MarkabyTemplate
Got LoadError when trying to get nested name Tilt::TypeScriptTemplate
Got LoadError when trying to get nested name Tilt::WikiClothTemplate
Got LoadError when trying to get nested name Tilt::RstPandocTemplate
Got LoadError when trying to get nested name Tilt::YajlTemplate
Naming WebConsoleGot NameError when trying to get nested name WebConsole::SourceLocation_
Naming YARD::Server::CommandsKernel#exit was called while requiring ruby source files
Traceback (most recent call last):
41: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/bin/srb-rbi:237:in `<main>'
40: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/bin/srb-rbi:196:in `main'
39: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/bin/srb-rbi:121:in `init'
38: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/bin/srb-rbi:232:in `block in make_step'
37: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/hidden-definition-finder.rb:38:in `main'
36: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/hidden-definition-finder.rb:44:in `main'
35: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/hidden-definition-finder.rb:75:in `all_modules_and_aliases'
34: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/hidden-definition-finder.rb:68:in `constant_cache'
33: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/gem-generator-tracepoint/tracer.rb:40:in `new'
32: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/gem-generator-tracepoint/tracer.rb:40:in `new'
31: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:70:in `initialize'
30: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:211:in `dfs_module'
29: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:211:in `each'
28: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:212:in `block in dfs_module'
27: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:211:in `dfs_module'
26: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:211:in `each'
25: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:212:in `block in dfs_module'
24: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:211:in `dfs_module'
23: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:211:in `each'
22: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:212:in `block in dfs_module'
21: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:145:in `dfs_module'
20: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:145:in `each'
19: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/constant_cache.rb:157:in `block in dfs_module'
18: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/real_stdlib.rb:77:in `real_const_get'
17: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/real_stdlib.rb:77:in `call'
16: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/real_stdlib.rb:77:in `const_get'
15: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/zeitwerk-2.4.0/lib/zeitwerk/kernel.rb:34:in `require'
14: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/zeitwerk-2.4.0/lib/zeitwerk/kernel.rb:34:in `require'
13: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/list_command.rb:2:in `<top (required)>'
12: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/list_command.rb:3:in `<module:YARD>'
11: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/list_command.rb:4:in `<module:Server>'
10: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/list_command.rb:6:in `<module:Commands>'
9: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/zeitwerk-2.4.0/lib/zeitwerk/kernel.rb:34:in `require'
8: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/zeitwerk-2.4.0/lib/zeitwerk/kernel.rb:34:in `require'
7: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/library_command.rb:4:in `<top (required)>'
6: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/library_command.rb:5:in `<module:YARD>'
5: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/library_command.rb:6:in `<module:Server>'
4: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/library_command.rb:32:in `<module:Commands>'
3: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/library_command.rb:34:in `<class:LibraryCommand>'
2: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/library_command.rb:34:in `fork'
1: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/yard-0.9.24/lib/yard/server/commands/library_command.rb:34:in `block in <class:LibraryCommand>'
/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/require_everything.rb:94:in `block in patch_kernel': ExitCalledError (ExitCall
Naming RDoc::MarkupMiniTest::Unit::TestCase is now Minitest::Test. From /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/2.5.0/rdoc/test_case.rb:32:in `<top (required)>'
MiniTest::Unit::TestCase is now Minitest::Test. From /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/2.5.0/rdoc/markup/formatter_test_case.rb:38:in `<top (required)>'
MiniTest::Unit::TestCase is now Minitest::Test. From /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/2.5.0/rdoc/markup/text_formatter_test_case.rb:29:in `<top (required)>'
Generating /var/folders/lm/6s3s24rd6x77g1z4nhktwnmw0000gn/T/d20200925-91284-12r026t/reflection.rbi with 13671 modules and 262 aliases
Printing your code's symbol table into /var/folders/lm/6s3s24rd6x77g1z4nhktwnmw0000gn/T/d20200925-91284-12r026t/from-source.json
Printing /var/folders/lm/6s3s24rd6x77g1z4nhktwnmw0000gn/T/d20200925-91284-12r026t/reflection.rbi's symbol table into /var/folders/lm/6s3s24rd6x77g1z4nhktwnmw0000gn/T/d20200925-91284-12r026t/reflection.json
Traceback (most recent call last):
6: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/bin/srb-rbi:237:in `<main>'
5: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/bin/srb-rbi:196:in `main'
4: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/bin/srb-rbi:121:in `init'
3: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/bin/srb-rbi:232:in `block in make_step'
2: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/hidden-definition-finder.rb:38:in `main'
1: from /usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/hidden-definition-finder.rb:47:in `main'
/usr/local/Cellar/rbenv/1.1.2/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sorbet-0.5.5920/lib/hidden-definition-finder.rb:151:in `write_constants': /var/folders/lm/6s3s24rd6x77g1z4nhktwnmw0000gn/T/d20200925-91284-12r026t/reflection.rbi had unexpected errors. Check this file for a clue: /var/folders/lm/6s3s24rd6x77g1z4nhktwnmw0000gn/T/d20200925-91284-12r026t/reflection.json.err (RuntimeError)
Комментарии:
1. В конце говорится:
Check this file for a clue: /var/folders/lm/6s3s24rd6x77g1z4nhktwnmw0000gn/T/d20200925-91284-12r026t/reflection.json.err
. Каково содержимое этого файла?