From add8d015c87a00626b739080bd75c7e7aeb9c1df Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 11 Oct 2012 10:22:34 +0200 Subject: moved core dependency into */Gemfile with :path In order to get the rails generators and the like to work properly in engines we need to require all the dependencies in the engine.rb file. Since I want to keep that list of engines in a centralized place we still need core and we need to require it from the other engines. We don't want to require the core gem to be installed so I added it with :path option to the Gemfile. --- help/lib/leap_web_help/engine.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'help/lib/leap_web_help') diff --git a/help/lib/leap_web_help/engine.rb b/help/lib/leap_web_help/engine.rb index 1006c29..4146dfc 100644 --- a/help/lib/leap_web_help/engine.rb +++ b/help/lib/leap_web_help/engine.rb @@ -1,4 +1,6 @@ # thou shall require all your dependencies in an engine. +require "leap_web_core" +require "leap_web_core/ui_dependencies" module LeapWebHelp class Engine < ::Rails::Engine -- cgit v1.2.3