Sha256: 28fcfcf99cb2292e72e3a5be8b33015319b79c9c7d1e667c99911c53d7830958
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 environemtn 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 here your before load hooks # Padrino.before_load do end ## # Add here your after load hooks # Padrino.after_load do end Padrino.load!
Version data entries
4 entries across 4 versions & 1 rubygems