It seems there is a bug with the current code at Master: whenever I try to launch the code I get the following error:
~/coordinator-bot$ rackup -p 5000
/home/seba/coordinator-bot/persistent_menu.rb:4:in enable': uninitialized constant Facebook::Messenger::Thread (NameError) Did you mean? Thread from /home/seba/coordinator-bot/bot.rb:12:in<top (required)>'
from /home/seba/coordinator-bot/config.ru:2:in require_relative' from /home/seba/coordinator-bot/config.ru:2:inblock in '
from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in instance_eval' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:ininitialize'
from /home/seba/coordinator-bot/config.ru:in new' from /home/seba/coordinator-bot/config.ru:in'
from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in eval' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:innew_from_string'
from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:40:in parse_file' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:319:inbuild_app_and_options_from_config'
from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:219:in app' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:354:inwrapped_app'
from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:283:in start' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:148:instart'
from /var/lib/gems/2.3.0/gems/rack-2.0.3/bin/rackup:4:in <top (required)>' from /usr/local/bin/rackup:23:inload'
from /usr/local/bin/rackup:23:in `'
Hi there!
It seems there is a bug with the current code at Master: whenever I try to launch the code I get the following error: ~/coordinator-bot$ rackup -p 5000
/home/seba/coordinator-bot/persistent_menu.rb:4:in'
from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in '
from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in '
enable': uninitialized constant Facebook::Messenger::Thread (NameError) Did you mean? Thread from /home/seba/coordinator-bot/bot.rb:12:in
<top (required)>' from /home/seba/coordinator-bot/config.ru:2:inrequire_relative' from /home/seba/coordinator-bot/config.ru:2:in
block ininstance_eval' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in
initialize' from /home/seba/coordinator-bot/config.ru:innew' from /home/seba/coordinator-bot/config.ru:in
eval' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in
new_from_string' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:40:inparse_file' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:319:in
build_app_and_options_from_config' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:219:inapp' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:354:in
wrapped_app' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:283:instart' from /var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:148:in
start' from /var/lib/gems/2.3.0/gems/rack-2.0.3/bin/rackup:4:in<top (required)>' from /usr/local/bin/rackup:23:in
load' from /usr/local/bin/rackup:23:in `Regards, Sebastian