Rails console equivalent for Sinatra

Posted on

If you want to fire up your app and play around via the command line the easiest way I found is to use irb.

Just run with irb with -r. The bundle exec is optional.

bundle exec irb -r app.rb

Leave a Reply

Your email address will not be published.