Sinatra + Bundler?
Inside your Sinatra app, you just have to require the bundler setup: require “bundler/setup” require “sinatra” get “https://stackoverflow.com/” do “Hello world!” end Alternatively, if you don’t want to add the additional require “bundler/setup” at the top of your app, you can instead invoke sinatra via bundle exec (e.g. bundle exec ruby myapp.rb) This assumes that … Read more