Added generator, ace-gen works!
This commit is contained in:
parent
4970d59081
commit
a1596e5642
20 changed files with 183 additions and 2 deletions
20
project_generator/content/boot.rb
Executable file
20
project_generator/content/boot.rb
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue