RackSh – Console for Rack based Ruby web apps (like Sinatra)

At Fiverr, we are making increasingly heavy use of Sinatra-based services, and need all the productivity knacks we can get. Any Ruby/Rails developer knows the console: the console is your friend, your ally, it will tell you when you are seriously injured, it will keep you awake and angry, and remind you to finish the job and get the hell home. But you know the worst thing about the console? It is not available for non-Rails Ruby apps, such as Sinatra-based apps.

Well, actually it is. Check out RackSh, a no-nonsense gem for console debugging for Sinatra apps. Read the link for the full details, but the gist of it is

$ gem install racksh
$ cd my_sinatra_app
$ echo 'gem racksh' >> Gemfile
$ bundle install
$ racksh

Wham! Console heaven.