Sha256: e7c77c4c9abfbb6cb523acae2efd2fe9c21808f057b1eadcaecd53ba57e0628c

Contents?: true

Size: 1.11 KB

Versions: 6

Compression:

Stored size: 1.11 KB

Contents

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

# Load our dependencies
require 'bundler/setup'
Bundler.require(:default, RACK_ENV)

##
# ## Enable devel logging
#
# Padrino::Logger::Config[:development][:log_level]  = :devel
# Padrino::Logger::Config[:development][:log_static] = true
#
# ## Enable logging of source location
#
# Padrino::Logger::Config[:development][:source_location] = true
#
# ## Configure your I18n
#
# I18n.default_locale = :en
# I18n.enforce_available_locales = false
#
# ## Configure your HTML5 data helpers
#
# Padrino::Helpers::TagHelpers::DATA_ATTRIBUTES.push(:dialog)
# text_field :foo, :dialog => true
# Generates: <input type="text" data-dialog="true" name="foo" />
#
# ## Add helpers to mailer
#
# Mail::Message.class_eval do
#   include Padrino::Helpers::NumberHelpers
#   include Padrino::Helpers::TranslationHelpers
# end

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

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

Padrino.load!

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
padrino-gen-0.13.1 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.13.1.beta1 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.13.0 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.13.0.beta3 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.13.0.beta2 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.13.0.beta1 lib/padrino-gen/generators/project/config/boot.rb