Mafia is a generator gem that creates the directory structure and files for a sinatra app that is also a gem in itself. The benefits for writing sinatra apps as gems is you can make your apps more modular and easily use them as rack middleware.


sudo gem install mafia
mafia appname