I am trying to find out how a gem in the Rails 3 gemfile can automatically add middleware to the Rack stack. I am looking for the hook in that gem.
I want to have Rack serve a specific file with a specific content type. It\'s a .htc file and it needs to be served as text/x-component so that IE will recognize it. In apache I would just do
I\'m trying to install redmine and I have a problem with phusion-passenger. Installer fails on dependencies saying that rack is missing. I\'ve investigated the code to check where it looks for it, but
Why 开发者_如何学Python Is there a reason Rack\'s request log by default outputs to stderr? If i\'m not mistaken, the request log is Rack::CommonLogger which according to the RDoc:
Do you know i开发者_JS百科f Rack was ported to Java? To be more specific, I am aware of jruby-rack but I am looking for a native Java (re)implementation of Rack, if any?!
I\'m trying to get a sinatra app as a subpath in my rails 3 app. Specifically, the resque queuing system has a sinatra based web interface that I would like to have accessible through /resque on my us
I\'m new to Rack and try to get my head around it running Ruby on Rails 3.0.0.beta4. I\'m starting a Rack app in the config.ru file but would like to use a variable there that is stored in my databas
If I have a Ruby on Rails application running on my Apache shared server (with Mongrel), can I get it to launch/run another total separate Rack application?
I\'m using Rack to try to implement \"Remember Me\" functionality in my Sinatra app. I\'m able to set the session cookie to expire when the session ends or in X seconds time but I\'d like to do both.
Say I have a Sinatra route ala: put \'/data\' do request.body.read # ... end It appears that the entire request.body is read into memory. Is there a way to consume the body as it comes into the sys