rackup
rackup copied to clipboard
Hi, this is a feature request. I need to start ruby REST API-Servers (sinatra) from systemd. This is in general not a problem, when defining it as a .service unit,...
# Problem Attempting to `require 'rackup'` with v1.0.0 fails with: ``` `require_relative': cannot load such file -- /Users/owenstephens/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rackup-1.0.0/lib/rackup/handler ``` ## Reproduction An example Gemfile: ``` source "https://rubygems.org" gem "rails", '7.1.2'...
This repo was extracted from rack for v3, which previously didn't explicitly depend on webrick. Webrick was dropped as a bundled gem from ruby 3 and the default web server...
I tried running rackup on termux, but it returned a message about FFI. `/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/ffi-1.15.5/lib/ffi/library.rb:273:in `attach_function': Function 'getdtablesize' not found in [libc.so] (FFI::NotFoundError) from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/ethon-0.16.0/lib/ethon/libc.rb:17:in `' from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/ethon-0.16.0/lib/ethon/libc.rb:7:in `' from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/ethon-0.16.0/lib/ethon/libc.rb:2:in...
These are no longer autoloaded so they can be removed. See: https://github.com/rack/rack/commit/fd7e0ade3ed8fc82408505f9d6069ee3384da5d1 https://github.com/rack/rack/pull/2113#issuecomment-1692438261
Whatever I set ENV['APP_ENV'] to, when I run it with rackup directly, the server always starts in development mode. I would expect it to respect the env var, as it...
Updates the pinned version of webrick to 1.8.2, since a CVE impacts earlier versions: https://nvd.nist.gov/vuln/detail/CVE-2024-47220
Due to https://github.com/rack/rackup/issues/13 (and other version dependency issues) we've been forced to vendor a "fake" version 1.0 that fixes that issue within our project, but CodeQL isn't very happy about...
Hi there, been working on [a thing that uses `rack`](https://github.com/doriantaylor/rb-intertwingler) and just went to deploy it and discovered that there is no longer any FastCGI support (anywhere, even in third-party...