Closed ximes closed 1 year ago
I'm failing to start the Yard server recently.
It's working fine on my system, using rackup/rack. Using Ruby 3.2.2, Yard 0.9.33, Puma 6.2.1, Rack 3.0.7, RackUp 2.1.0.
Not sure where the problem is. You stated 'recently', do you recall when it did work? Can you post config/puma.rb
?
Argh you're right. I had a local port override in my config/puma.rb
(port ENV["PORT"]
) which I missed, All working fine here :) My bad, closing it.
I'm failing to start the Yard server recently. There's apparently an issue with the port parameter which is not passed correctly to Puma.
Steps to reproduce
yard server
or evenyard server -p 8808
Actual Output
It errors with the following:
Expected Output
The server starts correctly instead. If I provide a ENV var for it, as in the following command:
server opens just fine.
Environment details:
ruby -v
): ruby 3.2.2 (2023-03-30 revision e51014f9c0) +YJIT [x86_64-linux]yard -v
): yard 0.9.32I have read the Contributing Guide.