Can't find documentation on how to access Rackup --options

Skip to first unread message

Sep 4, 2015, 4:48:30 AM9/4/15
to Rack Development
Hi All,

I've searched high and low and just can't find any mention of how to access the custom options passed in to Rack via the rackup options like so: rackup --options arg1=3

Can anyone point me in the direction of documentation for this or tell me how it's done? I need to access these in order to pass them on to a Sinatra app that I'm running via Rack Cascade.

Many thanks!


Christian Neukirchen

Sep 4, 2015, 7:03:49 AM9/4/15
to, Rack Development
AFAICS this is not possible, because these options are only passed to
the underlying webserver. But you can use standard environment
variables to pass options to your Rack application.

Christian Neukirchen <>
Reply all
Reply to author
0 new messages