Sha256: b84cdb4e73657e038e13f8f20ff2a6c6ac882cd0f42ac8c4614990633c5231d3

Contents?: true

Size: 522 Bytes

Versions: 3

Compression:

Stored size: 522 Bytes

Contents

# -*- coding: utf-8 -*-

# name spaces reservation
module TDiary; end
module TDiary::Cache; end

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

require 'bundler/setup' if File.exist?(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-4.1.1 lib/tdiary/environment.rb
tdiary-4.1.0 lib/tdiary/environment.rb
tdiary-4.1.0.20141126 lib/tdiary/environment.rb