Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot a web server and a SlackRubyBot without an additional Thread #26

Open
dblock opened this issue Nov 15, 2015 · 2 comments
Open

Boot a web server and a SlackRubyBot without an additional Thread #26

dblock opened this issue Nov 15, 2015 · 2 comments

Comments

@dblock
Copy link
Collaborator

dblock commented Nov 15, 2015

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.

@musicmage4114
Copy link
Contributor

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?

@dblock
Copy link
Collaborator Author

dblock commented May 31, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants