Sha256: 0ae099763b3498b09a09644e54b34e8a21bef9aaef776650763ebcac1279cd49

Contents?: true

Size: 635 Bytes

Versions: 3

Compression:

Stored size: 635 Bytes

Contents

# Defines our constants
PADRINO_ENV  = ENV["PADRINO_ENV"] ||= ENV["RACK_ENV"] ||= "development"  unless defined?(PADRINO_ENV)
PADRINO_ROOT = File.expand_path('../..', __FILE__) unless defined?(PADRINO_ROOT)

# Load our dependencies
require 'rubygems' unless defined?(Gem)
require 'bundler/setup'
Bundler.require(:default, PADRINO_ENV)

##
# Enable devel logging
#
# Padrino::Logger::Config[:development] = { :log_level => :devel, :stream => :stdout }
# Padrino::Logger.log_static = true
#

##
# Add your before load hooks here
#
Padrino.before_load do
end

##
# Add your after load hooks here
#
Padrino.after_load do
end

Padrino.load!

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
padrino-gen-0.10.1 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.10.0 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.9.29 lib/padrino-gen/generators/project/config/boot.rb