Tux - A Shell for Sinatra Apps
tagaholic.me
tagaholic.me
While working on a sinatra app recently, I noticed
that sinatra has no rails equivalent to rails console.
racksh (Rack::Shell) is a console for Rack based ruby web applications. From the README at https://github.com/sickill/racksh :"It's like script/console in Rails or merb -i in Merb, but for any app built on Rack. You can use it to load application environment for Rails, Merb, Sinatra, Camping, Ramaze or your own framework provided there is config.ru file in app's root directory /.../ It loads whole application environment like Rack web server, but instead of running the app it starts irb session. Additionally it exposes $rack variable which allows you to make simulated HTTP requests to your app.".