Sinatra hello world with bundler and shotgun
require "./app"
run Portfolio::App
require "sinatra/base"
module Portfolio
class App < Sinatra::Base
get '/' do
'hello'
end
end
end
bundle install --path vendor/bundle --without production
bundle exec shotgun -o 0.0.0.0
# A sample Gemfile
source "https://rubygems.org"
gem "sinatra"
gem "shotgun"