Run a Sinatra app locally, install nothing besides nanobox.
# clone the code
git clone https://github.com/nanobox-quickstarts/nanobox-sinatra.git
# cd into the sinatra app
cd nanobox-sinatra
# Add a convenient way to access your app from the browser
nanobox dns add local sinatra.dev
# Run sinatra as you would normally, with Nanobox
nanobox run rackup --host 0.0.0.0
Visit your app at sinatra.dev:9292
With Nanobox, you don't have to have anything installed on your machine to run your app:
# drop into a Nanobox console
nanobox run
# where ruby is installed,
ruby -v
# your gems are available,
gem list
# and your code is mounted
ls
For more details about running sinatra apps with nanobox visit guides.nanobox.io/ruby/sinatra/