-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
Environment Information
Provide at least:
- JRuby version: jruby 9.2.11.1 (2.5.7) 2020-03-25 b1f55b1 OpenJDK 64-Bit Server VM 25.252-b09 on 1.8.0_252-b09 +jit [darwin-x86_64]
- Operating system and platform: Darwin MacBook-Pro.local 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
Other relevant info you may wish to add:
- Installed or activated gems: sorbet, locked to
0.5.5675
gem 'sorbet-runtime'
gem 'sorbet', :group => :development
- Application/framework: none
- Environment variables: nothing unusual here; RUBY_ROOT, GEM_ROOT, GEM_PATH...
Expected Behavior
- Running
bundle exec srb initshould set up sorbet's config and RBIs - Followed the steps here: https://sorbet.org/docs/adopting
Actual Behavior
srb init consistently crashes with the following error:
Naming Object/Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/real_stdlib.rb:77: warning: constant ::NativeException is deprecated
Naming JRuby/Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/real_stdlib.rb:77: warning: constant JRuby::IR is deprecated
Generating /var/folders/j8/w10tktnj6514v501c6lh_kw80000gn/T/d20200526-75253-1t3issx/reflection.rbi with 700 modules and 26 aliases
TypeError: bind argument must be an instance of Class
bind at org/jruby/RubyUnboundMethod.java:120
real_superclass at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/real_stdlib.rb:62
class_or_module at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/serialize.rb:50
gen_source_rbi at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/hidden-definition-finder.rb:91
each at org/jruby/RubyArray.java:1809
gen_source_rbi at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/hidden-definition-finder.rb:90
capture_stderr at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/hidden-definition-finder.rb:402
gen_source_rbi at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/hidden-definition-finder.rb:89
main at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/hidden-definition-finder.rb:45
main at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/lib/hidden-definition-finder.rb:38
make_step at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/bin/srb-rbi:232
init at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/bin/srb-rbi:121
main at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/bin/srb-rbi:196
<main> at /Users/jakob/.gem/jruby/2.5.7/gems/sorbet-0.5.5675/bin/srb-rbi:237
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels