-
Notifications
You must be signed in to change notification settings - Fork 13
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
No such file to load -- lib/discourse.rb (LoadError) #13
Comments
Yeah, there's a lot to get to work :-/ Question: if I could set up an EC2 instance for you, would that be an easier way to run the tests you have in mind? |
I just wanted to throw falcon at it and see how it compared but I also want to use async-postgres so might require some hacking. |
That's fair. I'll say that by far the best supported bits here are the Packer build for an EC2 image. Just changing out for Falcon should be straightforward, in that I've occasionally run with another app server and it's not usually difficult. No clue about async-postgres - not sure how similar the interface is. But if it's at all useful for me to set up an instance for you with the current config to hack on, either from an existing built AMI or one you've built, please let me know. I'll look at your config problem too, but it's very likely to boil down to "maintaining a locally installed copy of Discourse and keeping it running is very hard, and then you have some extra requirements on top of that." :-( (The Discourse folks do this with Docker. I, alas, use this for benchmarking.) |
|
Rather than using docker, for my own benchmark, I used While it is a bit more platform specific than I'd like, it's super simple to deploy and test on a suitable Linux box and it runs on the bare metal where possible. |
Sorry, I didn't really make any useful statement. What about this: it sounds like you already have things set up on your end, do you just want to try it with falcon and we can discuss the results here? You can try adding that one line above - it will break migrations (rake tasks) but it should be fine when running the actual web app. |
Sure, I'll try that out and let you know the results - will likely take about 18 hours since I'm on UK time right now, and so I'll be sleeping before the next workday :-) |
There is no hurry, just take your time :) |
Here's what I did:
This seems nearly right. I can manually run "falcon serve -b http://localhost:9292" and have it serve up files using curl. But if I run "falcon serve --hybrid --forks 10 --threads 6" in the same directory it seems to die continually:
They don't seem to leave anything in the Rails log or the other obvious places I've tried looking. |
It looks like "--forks 10" is the problem - just "--hybrid" or "--hybrid --threads 6" both run without that problem. |
I had to do bundle update to get anything to work in the root directory but get to this step and it fails.
The text was updated successfully, but these errors were encountered: