Two issues: (1) Documentation: could the README mention whether windows is supported? (2) Could a simple example be shown how to start falcon from a .rb file? #321
Unanswered
rubyFeedback
asked this question in
Q&A
Replies: 1 comment
-
|
(1) In principle Falcon should be working on Windows but I am not really using Windows so it may take some effort to make it work. In other words, there are no reasons why it shouldn't be possible to make it work. Personally, I'd recommend using WSL. (2) https://github.com/socketry/falcon/blob/main/examples/server/standalone.rb |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently using primarily puma + rack. I do test other combinations too, though, such as thin.
I use Linux usually, but recently I had to use a Win10 laptop. "gem install puma" failed for me; I may
have to re-evaluate this, but I just need a simple server. This brings me to my first question:
(1) Does falcon work on Windows? Either way perhaps the README could show which operating
systems are supported. That way new people can read up on it and know whether their operating
system may be supported.
(2) Would it be possible to add a standalone example that shows how to serve static files from a
specific directory, such as /tmp/ and start falcon from it via a .rb file? Many recommend .ru files
but I hate them; I prefer .rb files and prefer to work with APIs directly in ruby. This example could
be put in some specific directory, or also be added to the wiki or elsewhere; just that it is there
would be nice, because I often run into problems and then I am not sure where to continue if
I can not solve the problem. People may have more time for StackOverflow etc... but I kind of
only invest very little time into a problem, and if I can not solve it, I need to move on.
Beta Was this translation helpful? Give feedback.
All reactions