Sha256: 9ebcaa8fe17c5a438dc2be7a731616e8dc4a2904b90205e4b2d98f3e425c8ca1

Contents?: true

Size: 666 Bytes

Versions: 4

Compression:

Stored size: 666 Bytes

Contents

# Defines our constants
PADRINO_ENV  = ENV["PADRINO_ENV"] ||= ENV["RACK_ENV"] ||= "development"  unless defined?(PADRINO_ENV)
PADRINO_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) unless defined?(PADRINO_ROOT)
# Load Bundler
require 'rubygems'
require 'bundler'
# Only have default and environment gems
Bundler.setup(:default, PADRINO_ENV.to_sym)
# Only require default and environment gems
Bundler.require(:default, PADRINO_ENV.to_sym)
puts "=> Located #{Padrino.bundle} Gemfile for #{Padrino.env}"

##
# 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

4 entries across 4 versions & 1 rubygems

Version Path
padrino-gen-0.9.28 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.9.27 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.9.26 lib/padrino-gen/generators/project/config/boot.rb
padrino-gen-0.9.25 lib/padrino-gen/generators/project/config/boot.rb