-
Hey there, I'm trying to get get falcon launched but I'm struggling with running My docker file is
My falcon.rb is #!/usr/bin/env -S falcon host
# frozen_string_literal: true
load :rack, :supervisor
hostname = File.basename(__dir__)
rack hostname do
endpoint Async::HTTP::Endpoint.parse("http://0.0.0.0:8080").with(
protocol: Async::HTTP::Protocol::HTTP2
)
end
supervisor My config.ru is require "roda"
require_relative 'app'
run App.freeze.app And when I try to launch it I get:
So I'm not sure if my config is wrong or if this is a bug... Apologies in advance if the answer is obvious. First time going outside of rails for these things and really struggling with these concepts Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
ioquatix
Jul 11, 2023
Replies: 1 comment 3 replies
-
Are you able to update to the latest version of the console, async and io-event gems? Do you have a gem lockfile? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the lockfile details.
The latest version of async is 2.6.2, and in your lockfile it appears to be 2.0.0.
https://rubygems.org/gems/async
One way to figure out why this might be happening is to pin to the latest version of async and run
bundle update
again, e.g. add this line:It may print out an error if some dependency can't be resolved. If so, can you let me know?