ace/project_generator/content/boot.rb

21 lines
355 B
Ruby
Raw Normal View History

2011-06-12 20:46:39 +02:00
#!/usr/bin/env bundle exec ace
# encoding: utf-8
Encoding.default_internal = "utf-8"
Encoding.default_external = "utf-8"
# Setup $LOAD_PATH.
require "bundler/setup"
# Custom setup.
require "pupu/adapters/ace"
Pupu.media_prefix = "/assets"
require "helpers"
# Load the app.
Dir["app/**/*.rb"].each do |file|
puts "~ Loading #{file}"
load file
end