Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


loe edited this page · 2 revisions
Clone this wiki locally

There are two types of rackup files, and .ru.

Run the standard file with:

$ rackup -p 3000

The run command will instance eval inside Rack. The other option is to capture the lambda in a constant which Rack can hold on to and call.

$ rackup app.rb -p 3000

The are mostly equivalent, is the most popular method.

Sinatra will handle auto-reloading of code, however you may use shotgun (gem install shotgun) for rack apps and sinatra as well.

Something went wrong with that request. Please try again.