Sha256: ea70275b6dcef751288e67bffbcf01217dd72ce24d572936943d4fb8472d1f3b

Contents?: true

Size: 467 Bytes

Versions: 3

Compression:

Stored size: 467 Bytes

Contents

# -*- coding: utf-8 -*-
require 'rubygems'

# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)

require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])

if defined?(Bundler)
  env = [:default]
  env << :development if ENV['RACK_ENV'].nil? || ENV['RACK_ENV'].empty?
  env << ENV['RACK_ENV'].intern if ENV['RACK_ENV']
  env = env.reject{|e| Bundler.settings.without.include? e }
  Bundler.require *env
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdiary-3.2.2.20130518 tdiary/environment.rb
tdiary-3.2.2.20130508 tdiary/environment.rb
tdiary-3.2.2.20130507 tdiary/environment.rb