You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run the basic example code from the README on an Ubuntu 18 system using ruby version 3.2.1. Every time I try to run the code I get the error below. I tried looking for similar issues but am not seeing any. Any help is appreciated.
/usr/share/rvm/gems/ruby-3.2.1/gems/dry-configurable-0.16.1/lib/dry/configurable/dsl.rb:23:in `instance_exec': no receiver given (ArgumentError)
instance_exec(&block) if block
^^^^^^
from /usr/share/rvm/gems/ruby-3.2.1/gems/dry-configurable-0.16.1/lib/dry/configurable/dsl.rb:23:in `initialize'
from /usr/share/rvm/gems/ruby-3.2.1/gems/dry-configurable-0.16.1/lib/dry/configurable/dsl.rb:43:in `new'
from /usr/share/rvm/gems/ruby-3.2.1/gems/dry-configurable-0.16.1/lib/dry/configurable/dsl.rb:43:in `setting'
from /usr/share/rvm/gems/ruby-3.2.1/gems/tdlib-ruby-3.0.2/lib/tdlib-ruby.rb:19:in `block in <module:TD>'
from /usr/share/rvm/gems/ruby-3.2.1/gems/dry-configurable-0.16.1/lib/dry/configurable/dsl.rb:23:in `instance_exec'
from /usr/share/rvm/gems/ruby-3.2.1/gems/dry-configurable-0.16.1/lib/dry/configurable/dsl.rb:23:in `initialize'
from /usr/share/rvm/gems/ruby-3.2.1/gems/dry-configurable-0.16.1/lib/dry/configurable/dsl.rb:43:in `new'
from /usr/share/rvm/gems/ruby-3.2.1/gems/dry-configurable-0.16.1/lib/dry/configurable/dsl.rb:43:in `setting'
from /usr/share/rvm/gems/ruby-3.2.1/gems/dry-configurable-0.16.1/lib/dry/configurable/class_methods.rb:44:in 'setting'
from /usr/share/rvm/gems/ruby-3.2.1/gems/tdlib-ruby-3.0.2/lib/tdlib-ruby.rb:18:in `<module:TD>'
from /usr/share/rvm/gems/ruby-3.2.1/gems/tdlib-ruby-3.0.2/lib/tdlib-ruby.rb:5:in `<top (required)>'
from <internal:/usr/share/rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:162:in 'require'
from <internal:/usr/share/rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:162:in 'rescue in require'
from <internal:/usr/share/rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:152:in 'require'
from main.rb:1:in '<main>'
<internal:/usr/share/rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in 'require': cannot load such file -- tdlib-ruby (LoadError)
from <internal:/usr/share/rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in 'require'
from main.rb:1:in '<main>''
The text was updated successfully, but these errors were encountered:
Hi All,
I am trying to run the basic example code from the README on an Ubuntu 18 system using ruby version 3.2.1. Every time I try to run the code I get the error below. I tried looking for similar issues but am not seeing any. Any help is appreciated.
The text was updated successfully, but these errors were encountered: