Top "Rack" questions

Rack provides a minimal interface between webservers supporting Ruby and Ruby frameworks.

Deleting the current session with Rack::Session::Cookie

I feel like I'm missing something obvious here, and I'm hoping that as soon as I post this someone will …

ruby session sinatra rack
Any way to serve gzip assets from heroku?

I'm wondering if there is any way to get the Rails webserver (thin) to serve the *.gz files the asset …

ruby-on-rails heroku gzip asset-pipeline rack
Error on starting application Bundler::GemNotFound

I have just started a new app but am getting this error when I click the 'about your application's environment' …

ruby-on-rails gem bundler rack rack-pow
How can you block or filter IP addresses on Heroku?

Is there a way to implement IP filtering or IP access rules much like I would with nginx/apache to …

ruby-on-rails security heroku ip rack
rackup: command not found

I am currently working on a project that requires the rackup command on ubuntu 11.04, but I am getting an error: …

ruby ubuntu rubygems rack rackup
How do I set a cookie with a (ruby) rack middleware component?

I'm writing a rack middleware component for a rails app that will need to conditionally set cookies. I am currently …

ruby cookies rack middleware setcookie
Disable Sprockets asset caching in development

I'm using Rails 3.2.13 and the Rails Asset Pipeline. I want to use the Asset Pipeline so I can use SASS …

ruby-on-rails ruby asset-pipeline rack sprockets
How can I make nginx return a static response and send request headers to app?

I am making a high-load web statistics system through embedding <img> tag to site. The thing I want …

ruby nginx rack high-load
Ruby Rack - mounting a simple web server that reads index.html as default

I'm trying to get some information from this tutorial: http://m.onkey.org/2008/11/18/ruby-on-rack-2-rack-builder basically I want to have …

ruby indexing webserver config rack
Message "X-Accel-Mapping header missing" in Nginx error log

I am running a Rails 3 site on Ubuntu 8.04 with Nginx 1.0.0 and Passenger 3.0.7. In my Nginx error.log I started seeing …

nginx rack sendfile x-sendfile