2014-04-01 07:12:43 +00:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
|
|
|
|
|
|
|
|
ENGINE_ROOT = File.expand_path('../..', __FILE__)
|
2014-07-16 08:32:50 +00:00
|
|
|
ENGINE_PATH = File.expand_path('../../lib/er_email/engine', __FILE__)
|
2014-04-01 07:12:43 +00:00
|
|
|
|
|
|
|
# Set up gems listed in the Gemfile.
|
|
|
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
|
|
|
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
|
|
|
|
|
|
|
# require 'rails/all'
|
|
|
|
# require 'rails/engine/commands'
|
|
|
|
require "action_controller/railtie"
|
|
|
|
require "action_mailer/railtie"
|
|
|
|
require "sprockets/railtie"
|
|
|
|
require "rails/test_unit/railtie"
|
|
|
|
require 'rails/engine/commands'
|
|
|
|
require "mongoid/railtie"
|