#require File.join(File.dirname(__FILE__), 'core_extensions.rb')
$LOAD_PATH.unshift(File.expand_path('./../../', __FILE__))

require 'rails_templater'
require File.join(File.dirname(__FILE__), 'core_ext.rb')

required_recipes = %w(orm testing_framework javascript_framework default haml)
required_recipes.each {|required_recipe| apply templater.recipe(required_recipe)}

say("\nInitial generation complete\n", Thor::Shell::Color::YELLOW)

apply(templater.recipe('cucumber')) if yes?("\nWould you like to add integration testing with Cucumber? [y|n]: ", Thor::Shell::Color::BLUE)  
apply templater.recipe('design')

run 'bundle install'

execute_post_bundler_strategies

git :add => "."
git :commit => "-m 'Initial commit'"  
#require File.join(File.dirname(__FILE__), 'core_extensions.rb')
$LOAD_PATH.unshift(File.expand_path('./../../', __FILE__))

require 'rails_templater'
require File.join(File.dirname(__FILE__), 'core_ext.rb')

required_recipes = %w(default orm testing_framework javascript_framework haml)
required_recipes.each {|required_recipe| apply templater.recipe(required_recipe)}

say("\nInitial generation complete\n", Thor::Shell::Color::YELLOW)

apply(templater.recipe('cucumber')) if yes?("\nWould you like to add integration testing with Cucumber? [y|n]: ", Thor::Shell::Color::BLUE)  
apply templater.recipe('design')

run 'bundle install'

execute_post_bundler_strategies

git :add => "."
git :commit => "-m 'Initial commit'"  
Move default to the beginning of the Default recipes
Move default to the beginning of the Default recipes
