Closed huydangquoc closed 8 years ago
Hi @dblock ,
I try to dig deeper to source code and find that this line in service.rb of slack-ruby-bot-server cause above error
Replace
run_callbacks :error, team, server, e
with
run_callbacks :error, team, e
and I'm able to re-install SlackApp to team
Hope this help. Huy Dang
Nice digging!
@huydangquoc Would you mind writing a test and submitting a pull request fixing this?
@huydangquoc This was already fixed in https://github.com/slack-ruby/slack-ruby-bot-server/commit/cfa14a9046cdef9f51a005b8203abd4104c31830, you probably pulling an older version of slack-ruby-bot-server. Change Gemfile to use ~> 0.4.0
, retest and PR it here, please.
@dblock I changed Gemfile as you suggestion and it worked. 👍 Thank you for your support. I should check latest version first, sorry for the inconvenience 😞
No worries @huydangquoc!
Do me a favor? Change it in https://github.com/slack-ruby/slack-ruby-bot-server-sample/blob/master/Gemfile#L5, run bundle update
, and make a pull request?
Hi @dblock ,
While playing with "slack-ruby-bot-server-sample", I found that I can't re-install SlackApp to SlackTeam. Re-produce steps as below:
Pre-condition:
Issue re-produce steps:
Observation:
Please help verify Huy Dang