slack-ruby-bot icon indicating copy to clipboard operation
slack-ruby-bot copied to clipboard

Boot a web server and a SlackRubyBot without an additional Thread

Open dblock opened this issue 10 years ago • 2 comments

I've been struggling with making an instance of a slack-ruby-client without a Thread with just EventMachine. I couldn't boot a web server and a slack RTM client in the same thread successfully. It should be possible.

Currently we document to use a Thread in https://github.com/dblock/slack-ruby-bot/blob/master/TUTORIAL.md under config.ru, fix that.

dblock avatar Nov 15 '15 18:11 dblock

So I'm a complete novice when it comes to programming, but it sounds like even just attempting to solve this could be fun and educational.

I know it's been a very long time since you posted this issue, but are you able to give me any details about what you've tried so far?

musicmage4114 avatar May 30 '17 20:05 musicmage4114

If you follow the tutorial at the end it says something like Thread.new ..., remove that and make it work.

dblock avatar May 31 '17 14:05 dblock