Top "Rack" questions

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

Bypassing rack version error using Rails 2.3.5

I'm currently on Dreamhost attempting to run a Rails 2.3.5 app. Here is the situation, Dreamhost's servers have Rails 2.2.2 installed. Of …

ruby-on-rails rubygems rack dreamhost
Any success with Sinatra working together with EventMachine WebSockets?

I have been using Sinatra for sometime now and I would like to add some realtime features to my web-app …

ruby sinatra websocket rack eventmachine
Get ordered list of middleware in a generic rack application?

The functionality I am looking for is similar to the rake middleware command in Rails, except for a generic rack …

ruby rake rack middleware
How to switch between different version of gem installed?

I have three version of rack installed on local machine (rack (1.4.1, 1.3.6, 1.3.5)). For some gem (such as Cucumber), it requires a …

ruby gem cucumber rack
How do I set up a Sinatra app under Apache with Passenger?

Let's say I have the simplest single-file Sinatra app. The hello world on their homepage will do. I want to …

ruby apache sinatra passenger rack
Sinatra and Rack Protection setting

I am using Sinatra and CORS to accept a file upload on domain A (hefty.burger.com). Domain B (fizzbuzz.…

sinatra rack http-status-code-403
Where does RACK log to?

I am running a sinatra app through RACK. To which file does the activity get logged ? Also how can I …

ruby sinatra rack
How do I set/get session vars in a Rack app?

use Rack::Session::Pool ... session[:msg]="Hello Rack" EDIT: The word session doesn't seem to resolve. I included the Session …

ruby session rack
Adding a custom middleware to Rails 4

I have a Rails 4 sample project (Blog) and I have created a simple middleware called 'request_timer' in config/initializers/…

ruby-on-rails-4 rack rack-middleware
How do I redirect without www using Rails 3 / Rack?

I understand there are a lot of questions that answer this. I'm familiar with .htaccess and nginx.conf methods, but …

ruby-on-rails redirect ruby-on-rails-3 seo rack