Skip to content

Instantly share code, notes, and snippets.

@igkuz
Created March 9, 2019 12:42
Show Gist options
  • Select an option

  • Save igkuz/6efd0786b76869af08c1ce7c64792dc2 to your computer and use it in GitHub Desktop.

Select an option

Save igkuz/6efd0786b76869af08c1ce7c64792dc2 to your computer and use it in GitHub Desktop.
Boot file for sample ROM app
ENV['RACK_ENV'] ||= 'development'
APP_ROOT = File.expand_path('../', __FILE__)
ENV['BUNDLE_GEMFILE'] ||= File.join(APP_ROOT, '/', 'Gemfile')
require 'bundler'
Bundler.require(:default, ENV['RACK_ENV'].to_sym)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment