Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Avoid listing gem requirements both in Gemfile and app for e.g. Sinatra on Heroku (and locally).
require 'rubygems'
require 'bundler'
Bundler.require(:default, (ENV['RACK_ENV'] || "development").to_sym)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment