hi, all I build a sinatra app, the main files for bundling as the following,
environment.rb
require \'sinatra\'
require \'sequel\'
ENV[\'RACK_ENV\'] = \
When doing a bundler require you can specify which groups to be required.
For example:
require 'rubygems'
require 'bundler'
if ENV['RACK_ENV'] == 'development'
Bundler.require(:default, :development)
else
Bundler.require(:default)
require 'sinatra'
More info on the bundler site gemfile specifications found here.